أَخْبَرَنَا مُحَمَّدُ بْنُ إِسْمَاعِيلَ بْنِ إِبْرَاهِيمَ، عَنْ مُحَمَّدِ بْنِ بِشْرٍ، عَنْ هِشَامِ بْنِ عُرْوَةَ، عَنْ أَبِيهِ، عَنْ حَمْزَةَ بْنِ عَمْرٍو الأَسْلَمِيِّ، أَنَّهُ سَأَلَ رَسُولَ اللَّهِ صلى الله عليه وسلم أَصُومُ فِي السَّفَرِ قَالَ ‏"‏ إِنْ شِئْتَ فَصُمْ وَإِنْ شِئْتَ فَأَفْطِرْ ‏"‏ ‏.‏
Translation
It was narrated that 'Aishah said

"Hamzah said to the Messenger of Allah: 'O Messenger of Allah, should I fast while traveling?' He used to fast a great deal. The Messenger of Allah said to him: "If you wish then fast and if you wish then do not fast."'