Fasting

Bukhari :: Book 3 :: Volume 31 :: Hadith 169

Narrated Tawus:

Ibn 'Abbas said, "Allah's Apostle set out from Medina to Mecca and he fasted till he reached 'Usfan, where he asked for water and raised his hand to let the people see him, and then broke the fast, and did not fast after that till he reached Mecca, and that happened in Ramadan." Ibn 'Abbas used to say, "Allah's Apostle (sometimes) fasted and (sometimes) did not fast during the journeys so whoever wished to fast could fast, and whoever wished not to fast, could do so."

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star