Sunan Abi Dawud — The Rites of Hajj (Kitab Al-Manasik Wa'l-Hajj) — Hadith No: 1836
Translation
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)