Sahih Bukhari Volume 003, Book 031, Hadith Number 161.

Narated By Thabit Al-Bunani : 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."