the Messenger of Allah saw some people gathered around a man, so he asked (what was happening) and they said: "It is a man who is exhausted because of fasting." The Messenger of Allah said: "It is not righteousness to fast when traveling."
Sunan an-Nasa'i Book 22, Hadith 168