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.
Sahih Bukhari, Volume 7, Book71, Number 602