Sunan an-Nasa'i, Book 22, Hadith 204 (Nasa'i 2298)

Mujahid narrated:

That the Messenger of Allah fasted during Ramadan and broke his fast when traveling.