It is narrated from Sayyiduna Anas bin Malik, may Allah be pleased with him, that we traveled with the Messenger of Allah ﷺ in the month of Ramadan (some of the companions, may Allah be pleased with them, were fasting and some were not), so the one who was fasting did not object to 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السنن المأثورة / باب صيام من أصبح جنبا / 310
Hadith Takhrijصحیح بخاری، الصوم، باب لم يعب اصحاب النبي ﷺ ...... الخ، رقم : 1947