“The Messenger of Allah (ﷺ) fasted while he was traveling, and he broke his fast.”
Sunan Ibn Majah Book 7, Hadith 24