Ibn 'Abbas (RAA) narrated that The Messenger of Allah (ﷺ) had himself cupped while he was in a state of Ihram, and had himself cupped while he was fasting.'' Related by Al-Bukhari. (ID)
English reference (ID): Book 5, Hadith 686 (ID)
Arabic reference (ID): Book 5, Hadith 665 (ID)