Fiqh-us-Sunnah Volume 5, Hajj and ‘Umrah, Fiqh 5.045.

Section : Cupping, Opening an Abscess, Pulling a Tooth or Cutting a Vein.

It is substantiated that Allah’s Messenger cupped himself in the middle of his head while he was in a state of ihram. Malik said: “There is no blame upon a muhrim if in case of need, he opens an abscess, wraps a wound or severs a vein.”

Ibn ‘Abbas said: “A person in the state of ihram may pull his tooth or open an abscess.” An-Nawawi said: “If a muhrim wants cupping without any reason, and it necessitates cutting hair, then it is unlawful to do so. But if it does not necessitate cutting hair, the majority of scholars hold it permissible. Malik, however, hold that it is disliked. Al-Hasan is of the opinion that one must sacrifice an animal if one does so, even if it does not involve cutting any hair. But if it is done because of a need, then it is permissible, but one will have to pay a ransom to redeem oneself. Zahiri school holds that an atonement is required only for cutting hair from the head.