Mishkat al-Masabih 2438
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: إِنَّ رَجُلًا قَالَ: يَا رَسُولَ اللَّهِ إِنِّي أُرِيدُ أَنْ أُسَافِرَ فَأَوْصِنِي قَالَ: «عَلَيْكَ بِتَقْوَى اللَّهِ وَالتَّكْبِيرِ عَلَى كل شرف» . قَالَ: فَلَمَّا وَلَّى الرَّجُلُ قَالَ: «اللَّهُمَّ اطْوِ لَهُ الْبعد وهون عَلَيْهِ السّفر» . رَوَاهُ التِّرْمِذِيّ
From Abu Hurayrah, who said: A man said: "O Messenger of Allah, I want to travel, so advise me." He said: "Hold to the fear of Allah, and say Allahu akbar on every rise." He said: When the man turned away, he said: "O Allah, shorten the distance for him and make the journey easy for him." Reported by at-Tirmidhi.