حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَضْرَمِيُّ، ثنا يَحْيَى الْحِمَّانِيُّ، ثنا ابْنُ مُبَارَكٍ، عَنْ عَبْدِ الْحَمِيدِ بْنِ جَعْفَرٍ، عَنْ عِمْرَانَ بْنِ أَبِي أَنَسٍ، قَالَ: سَمِعْتُ سُلَيْمَانَ بْنَ يَسَارٍ، عَنْ حَمْزَةَ الْأَسْلَمِيِّ أَنَّهُ سَأَلَ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ عَنِ الصَّوْمِ فِي السَّفَرِ، فَقَالَ: «إِنْ شِئْتَ فَصُمْ، وَإِنْ شِئْتَ فَأَفْطِرْ»
Sulayman bin Yasar narrates that Hamzah al-Aslami (may Allah be pleased with him) asked the Prophet (peace and blessings be upon him) about fasting while travelling, and he (peace and blessings be upon him) said: "If you wish, fast; and if you wish, break your fast."