The Messenger of Allah ﷺ was cupped on his head while in the state of ihram. Yazid said, "Due to an ailment he was suffering from."
حدثنا يزيد أخبرنا هشام وابن جعفر قال حدثنا هشام عن عكرمة
احتجم رسول الله ﷺ وهو محرم احتجامة في رأسه قال يزيد من أذى كان به
Its isnad is sahih. Hisham is Ibn Hassan. See 1922, 1923, 1943. In kh, it says, "They both said, Hisham narrated to us," which is an error we corrected from k.