The Messenger of Allah ﷺ was cupped while he was in the state of ihram.
حدثنا سفيان قال عمرو أولا فحفظنا عن طاوس وقال مرة أخبرني طاوس
أن رسول الله ﷺ احتجم وهو محرم
No references are available.
Its isnad is sahih, and Bukhari and Muslim also narrated it, as in al-Muntaqa 2461. See also 1849. Sahih