Sahih Muslim , Hadith 1118

Humaid reported that Anas (Allah be pleased with him) was asked about fasting during Ramadan while travelling. He said: We travelled with the Messenger of Allah during the month of Ramadan, but neither the observer of the fast found fault with the breaker of the fast, nor the breaker of the fast found fault with the observer of the fast.

حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، أَخْبَرَنَا أَبُو خَيْثَمَةَ، عَنْ حُمَيْدٍ، قَالَ سُئِلَ أَنَسٌ - رضى الله عنه - عَنْ صَوْمِ رَمَضَانَ فِي السَّفَرِ فَقَالَ سَافَرْنَا مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم فِي رَمَضَانَ فَلَمْ يَعِبِ الصَّائِمُ عَلَى الْمُفْطِرِ وَلاَ الْمُفْطِرُ عَلَى الصَّائِمِ ‏.‏

sunnah.com

Abu Khalid al-Ahmar narrated from Humaid who said: I went out and was fasting; they said to me: Break (lit. go back, repeat). He said that Anas reported that the Companions of the Messenger of Allah used to set out on a journey and neither the observer of the fast found fault with the breaker of the fast, nor the breaker of the fast found fault with the observer of the fast. (One of the narrators Humaid said): I met Ibn Abi Mulaika who informed me the same thing on the authority of 'A'isha.

وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو خَالِدٍ الأَحْمَرُ، عَنْ حُمَيْدٍ، قَالَ خَرَجْتُ فَصُمْتُ فَقَالُوا لِي أَعِدْ ‏.‏ قَالَ فَقُلْتُ إِنَّ أَنَسًا أَخْبَرَنِي أَنَّ أَصْحَابَ رَسُولِ اللَّهِ صلى الله عليه وسلم كَانُوا يُسَافِرُونَ فَلاَ يَعِيبُ الصَّائِمُ عَلَى الْمُفْطِرِ وَلاَ الْمُفْطِرُ عَلَى الصَّائِمِ ‏.‏ فَلَقِيتُ ابْنَ أَبِي مُلَيْكَةَ فَأَخْبَرَنِي عَنْ عَائِشَةَ - رضى الله عنها - بِمِثْلِهِ ‏.‏

sunnah.com