We used to travel with the Prophet (ﷺ) and neither did the fasting persons criticize those…

Sahih al-Bukhari Book 30 Hadith 54

Sahih al-Bukhari #1947

Fasting 30:54

Narrated Anas bin Malik:

We used to travel with the Prophet (ﷺ) and neither did the fasting persons criticize those who were not fasting, nor did those who were not fasting criticize the fasting ones.

Chapter: Not to criticize each other for observing Saum or not (on journeys)

Grade: Sahih