حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَخْبَرَنَا هِشَامٌ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم احْتَجَمَ وَهُوَ مُحْرِمٌ فِي رَأْسِهِ مِنْ دَاءٍ كَانَ بِهِ ‏.‏

Narrated Abdullah ibn Abbas: The Messenger of Allah (PBUH) had himself cupped in his head when he was in the sacred state (wearing ihram due to a disease from which he was suffering. Translation Not Available

Book Ref: Sunan Abi Dawud Book 11 Hadith 1836
Web Ref:  Sunan Abi Dawud Book 10 Hadith 1832