We used to travel with the Messenger of Allah ﷺ during Ramadan, and neither the one fasting was criticized for his fasting nor the one not fasting for breaking his fast.
حدثنا نصر بن علي الجهضمي حدثنا بشر يعني ابن مفضل عن أبي مسلمة عن أبي نضرة
كنا نسافر مع رسول الله ﷺ في رمضان فما يعاب على الصائم صومه ولا على المفطر إفطاره