It is narrated from Aisha (may Allah be pleased with her) that Hamza bin Amr Al-Aslami (may Allah be pleased with him) used to fast frequently. He said: O Messenger of Allah (ﷺ)! Should I fast while traveling? The Messenger of Allah (ﷺ) said: "If you wish, then fast, and if you wish, then do not fast."
Hadith Referenceمسند الإمام الشافعي / كتاب الصيام / 625
Hadith Takhrijاخرجه البخاري، الصوم، باب الصوم في السفر و الافطار (1943) ومسلم، الصيام، باب التخيير في الصوم والفطر في السفر (1121)۔
It is narrated from Anas bin Malik, may Allah be pleased with him, who states that we traveled with the Messenger of Allah ﷺ during Ramadan. The fasting person did not find fault with the one who was not fasting, nor did the one who was not fasting find fault with the fasting person.
Hadith Referenceمسند الإمام الشافعي / كتاب الصيام / 626
Hadith Takhrijأخرجه البخاري، الصوم، باب لم يعب اصحاب النبي صلی اللہ علیہ وسلم بعضهم بعضًا في الصوم والإفطار (1947)۔
It is narrated from Anas (may Allah be pleased with him) who states: We traveled with the Messenger of Allah (peace be upon him). Some of us were fasting and some were not. So the one who was fasting did not find fault with the one who was not fasting, and the one who was not fasting did not find fault with the one who was fasting.
Hadith Referenceمسند الإمام الشافعي / كتاب الصيام / 627
Hadith Takhrijصحيح اخرجه البيهقى فى المعرفة السنن والآثار (2519) ۔ وانظر الحديث الذي قبله برقم (626)۔