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.
Related hadith on this topic
Explanation & Benefits
Maulana Ataullah Sajid
Benefits and Issues:
➊ It is permissible to undergo cupping (hijama) while in the state of ihram.
➋ If hair must be removed in the process of cupping, then compensation (fidyah) should be given.
Source: Commentary on Sunan Ibn Mājah by Mawlānā ‘Atā’ullāh Sājid, Page: 3082
Shaykh Umar Farooq Saeedi
Benefits and Issues:
If, for the purpose of treatment, it becomes necessary to uncover any part of the awrah (private area), then it is permissible.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 3863
Hafiz Muhammad Ameen
(1) The aforementioned narration has been declared weak in its chain of transmission by the researcher of the book, whereas other scholars have considered it to be sahih li ghayrihi (authentic due to supporting narrations), and the preferred opinion is theirs. See: (al-Mawsu‘ah al-Hadithiyyah, Musnad al-Imam Ahmad: 23/182). Therefore, in case of necessity, cupping (hijamah) may be performed. This is also established by other authentic narrations.
(2) “Moch” refers to a situation where the bone is not harmed, but there is pain in the flesh and muscles, or the bone is struck but is spared from breaking. The discussion regarding the permissibility of cupping and related matters has already passed above under Hadith: 2848.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 2851