The Prophet ﷺ was cupped while in a state of ihram.
قال أبي وقد حدثناه سفيان وقال عمرو عن عطاء وطاوس
أن النبي ﷺ احتجم وهو محرم
No references are available.
Its isnad is sahih, and it is a repetition of the one before it.