Sayyida Aisha (may Allah be pleased with her) says: Hamza bin Amr Aslami (may Allah be pleased with him) said: O Messenger of Allah! I observe continuous fasting, so should I fast while traveling as well? The Prophet (peace and blessings be upon him) said: "If you wish, then fast; if you do not wish, then do not fast."
Related hadith on this topic