It is narrated from Sayyiduna Hamzah Aslami that he asked the Prophet (peace and blessings be upon him) about the ruling of fasting while traveling: so the Prophet (peace and blessings be upon him) said: If you wish, then fast, and if you wish, then do not fast.
Hadith Referenceمسند احمد / مسند المكيين / 16037
Hadith Gradingحکم دارالسلام:صحيح، م: 1221، وهذا إسناد ضعيف، قتادة لم يسمع من سليمان بن يسار ، وسليمان لم يسمع من حمزة بينهما ابو مرواح، ومحمد بن جعفر سمع من سعيد بن أبى عروبة بعد اختلاط، لكنه توبع