"Prophet was treated by means of cupping when he was in Ihram."

Sunan an-Nasa'i Book 24, Hadith 230