Narrated Ibn `Abbas
The Prophet (ﷺ) was cupped on his head for an ailment he was suffering from while he was in a state of Ihram. at a water place called Lahl Jamal. Ibn `Abbas further said: Allah s Apostle was cupped on his head for unilateral headache while he was in a state of Ihram.
Narrated Jabir bin `Abdullah
I heard the Prophet (ﷺ) saying, "If there is any good in your medicines, then it is in a gulp of honey, a cupping operation, or branding (cauterization), but I do not like to be (cauterized) branded.