Ibn ‘Abbas said The Prophet(ﷺ) had himself cupped when he was in the sacred state(wearing ihram).
Sunan Abi Dawud Book 11, Hadith 115