Messenger of Allah, I intend to travel, so give me some advice.He said, "Hold fast to the fear of Allah, and say takbir upon every elevated place."When the man turned to leave, he said, "O Allah, fold up the earth for him and make the journey easy upon him."
حدثنا موسى بن عبد الرحمن الكندي الكوفي حدثنا زيد بن حباب أخبرني أسامة بن زيد عن سعيد المقبري
يا رسول الله إني أريد أن أسافر فأوصني قال عليك بتقوى الله والتكبير على كل شرف فلما أن ولى الرجل قال اللهم اطو له الأرض وهون عليه السفر
[Its chain is hasan] Ibn Majah also narrated it in the chapter on Jihad, the section on the virtue of guarding and takbir in the path of Allah, hadith 2771, from the hadith of Usama bin Zayd, in abridged form. Ibn Hibban graded it sahih, hadith 2378, 2379, as did Hakim, meeting the criteria of Muslim, 1/445, 446, 2/98, and Dhahabi agreed with him.