Allah's Messenger (ﷺ) was cupped while he was in a state of Ihram.
Sahih al-Bukhari Book 28, Hadith 15