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 and blood was drawn, and at that time he (peace be upon him) was also in a state of fasting.
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 2536