Sayyiduna Abdullah bin Abbas (may Allah be pleased with them) narrates: The Prophet Muhammad (peace be upon him) had cupping done on his head due to pain while he was in the state of Ihram.
Hadith Referenceصحیح ابن حبان / كتاب الحج / 3950
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «صحيح أبي داود» (1611): خ.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط الشيخين