Sunan Abi Dawud, Book 14, Hadith 61 (Abu Dawud 2374)

Narrated Abdullah ibn Abbas:

The Messenger of Allah (ﷺ) had himself cupped when he was fasting and wearing ihram (pilgrim garb).