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. (ES)
English reference (ES): Book 5, Hadith 686 (ES)
Arabic reference (ES): Book 5, Hadith 665 (ES)