Sunan Abi Dawud, Book 11, Hadith 116 (Abu Dawud 1837)

Narrated Abdullah ibn Abbas:

The Messenger of Allah (ﷺ) had himself cupped in his head when he was in the sacred state (wearing ihram due to a disease from which he was suffering.