Hamza b. ‘Amr al-Aslami told God’s messenger that he found himself strong enough to fast while travelling and asked whether it would be wrong for him to do so. He was told that licence had been given by God who is great and glorious, so that if anyone acted upon this he did well, but if anyone wished to fast he would not be guilty of sin.
‘Abd ar-Rahman b. ‘Auf reported God’s messenger as saying, “One who fasts in Ramadan while travelling is like one who breaks his fast when not travelling.”
عَنْ عَائِشَةَ قَالَتْ: كَانَ يَكُونُ عَلَيَّ الصَّوْمُ مِنْ رَمَضَانَ فَمَا أَسْتَطِيعُ أَنْ أَقْضِيَ إِلَّا فِي شَعْبَانَ. قَالَ يَحْيَى بْنُ سَعِيدٍ: تَعْنِي الشّغل من النَّبِي أَو بِالنَّبِيِّ صلى الله عَلَيْهِ وَسلم
‘A'isha said that when she had some part of the fast of Ramadan to make up she would be able to do so only in Sha'ban. Yahya b. Sa'id said she meant this was due to her being kept from it by her duty to the Prophet.
Jabir said that God’s messenger went off to Mecca in Ramadan in the year of the Conquest, and he and the people fasted till he came to Kura' al-Ghamim.* He then called for a cup of water which he raised till the people looked at it, and then he drank. He was told afterwards that some of the people had continued to fast, and said, “Those are the disobedient ones; those are the disobedient ones.”
*A wadi two stages from Mecca on the way to Medina.