It is narrated from Sayyiduna Ka'b bin Asim al-Ash'ari (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Fasting while travelling is not righteousness."
Hadith Referenceالمعجم الكبير للطبراني / باب الكاف / 16446