Humayd reported,

Anas رضي الله عنه was asked about fasting Ramadan while traveling. He replied, "We traveled with the Messenger of Allah ﷺ during Ramadan, and the one who fasted did not criticize the one who broke his fast, nor did the one who broke his fast criticize the one who fasted."

Muslim 2620

Sahih

حدثنا يحيى بن يحيى أخبرنا أبو خيثمة

عن حميد قال

سئل أنس رضي الله عنه عن صوم رمضان في السفر فقال سافرنا مع رسول الله ﷺ في رمضان فلم يعب الصائم على المفطر ولا المفطر على الصائم

مسلم 2620صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Fasting
Chapter
Permissibility of fasting and breaking the fast in Ramadan for a traveler not in disobedience when his journey is two stages or more, and that it is better for one who can bear it without harm to fast and for one who finds it difficult to break the fast
Numbering
Darussalam 2620
Muslim 2620