The Prophet (ﷺ) was cupped while he was in a state of Ihram.

Sahih al-Bukhari Book 76 Hadith 17

Sahih al-Bukhari #5695

Medicine 76:17

Narrated Ibn `Abbas:

The Prophet (ﷺ) was cupped while he was in a state of Ihram.

Chapter: To be cupped while on a journey or in Ihram

Grade: Sahih