"we had been travelijng for as long as Allah willed, then we came to the Messenger of Allah and he was eating. He said: 'Come and eat.' I said: 'I am fasting.' The Messenger of Allah said: 'I will tell you about fasting. Allah has waived fasting and half of the prayer for the traveler."'
Sunan an-Nasa'i Book 22, Hadith 191