It is narrated from Hazrat Jabir that the Holy Prophet (peace and blessings be upon him) had cupping done while in the state of Ihram due to weakness.