It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) had cupping done while in the state of ihram, because of a pain he (peace and blessings be upon him) had, and he also used the tooth-stick (miswak) while in the state of ihram.
In the narration of al-Haytham it says: "and he (peace and blessings be upon him) was fasting", while in this narration it says: "and he (peace and blessings be upon him) was in ihram."
As for the cupping, it is narrated in "al-Sahih" from the hadith of Sayyiduna Ibn Abbas (may Allah be pleased with them both).