It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that once the Prophet (peace and blessings be upon him) had cupping done while he was in the state of ihram and fasting. Because of this, the Prophet (peace and blessings be upon him) fainted, and for this reason, the Prophet (peace and blessings be upon him) considered it disliked for a fasting person to have cupping done.
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 2228
Hadith Gradingحکم دارالسلام:إسناده ضعيف، نصر بن باب ضعيف، والحجاج مدلس وقد عنعن