Sahih Bukhari: Volume 3, Book 31, Number 159: Narrated Ibn Abbas: The Prophet was cupped while he was in the state of lhram, and also while he was observing a fast.