Anas bin Malik was asked whether they disliked the cupping for a fasting person. He replied in the negative and said, "Only if it causes weakness."
Sahih al-Bukhari Book 30, Hadith 47