Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates: We were traveling with the Prophet (peace and blessings of Allah be upon him) during Ramadan. Some of us were fasting, and some were not fasting. So the fasting person did not object to the one who was not fasting, and the one who was not fasting did not object to the fasting person.
Hadith Referenceصحیح ابن حبان / كتاب الصوم / 3561
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح: ق - انظر (3551). تنبيه!! رقم (3551) = (3559) من «طبعة المؤسسة». - مدخل بيانات الشاملة -.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم