It was narrated from Jabir that the Prophet (ﷺ) was treated with cupping when he was in the state of Ihram, because he did not feel well.
Authentic