Sunan an-Nasa'i, Book 22, Hadith 171 (Nasa'i 2265)

It was narrated from Jabir bin 'Abdullah that the Messenger of Allah said:

"It is not righteousness to fast when traveling. Take to the concession which Allah, the mighty and sublime, has granted you, accept it."