It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that when the Messenger of Allah (peace and blessings be upon him) had prayed the Fajr prayer on a journey, he would walk (for a while).
Hadith Referenceالأحاديث المختارة / مسند أنس بن مالك رضي الله عنه / 2534
Hadith Takhrij«أخرجه الضياء المقدسي فى الأحاديث المختارة برقم: 2535، والبيهقي فى السنن الكبرى برقم: 10447، والطبراني فى الأوسط برقم: 6957»