The Prophet ﷺ was cupped while in the state of ihram for an injury that had afflicted him.
حدثنا بكر بن خلف أبو بشر حدثنا محمد بن أبي الضيف عن ابن خثيم عن أبي الزبير
أن النبي ﷺ احتجم وهو محرم عن رهصة أخذته
No references are available.
[sahih] * Muhammad bin Abu Dayf is mastur (Taqrib), and the preceding hadith serves as corroboration for it.