We travelled with the Messenger of Allah (ﷺ). The observer of the fast observed it, and…

Sahih Muslim Book 13 Hadith 125

Sahih Muslim #1117

The Book of Fasting 13:125

Abu Nadra reported Abu Sa'id al. Khudri and Jabir b. Abdullah as saying:

We travelled with the Messenger of Allah (ﷺ). The observer of the fast observed it, and the breaker of the fast broke it, but none of them found fault with each other.

Chapter: It is permissible to fast or not to fast during Ramadan for one who is travelling for no sinful purpose, if his journey is two stages or further. But it is better for the one who is able to fast without suffering any harm to do so, and the one for whom it is difficult may break the fast

Grade: Sahih