The Messenger of Allah ﷺ was cupped on his head while in the state of ihram for Muharram, due to a headache he was suffering from.
حدثنا روح حدثنا هشام عن عكرمة
أن رسول الله ﷺ احتجم وهو محرم في رأسه من صداع وجده
Its isnad is sahih, and it is a longer version of 3282.