Abu Hurairah reported,

Whenever the Messenger of Allah ﷺ set out on a journey and mounted his riding camel, he would point with his finger, and Shuba (one of the narrators of the hadith) extended his finger to demonstrate, and he would say, "O Allah, You are the Companion on the journey and the Guardian over the family. O Allah, accompany us with Your good counsel and return us under Your protection. O Allah, fold up the earth for us and make the journey easy for us. O Allah, I seek refuge in You from the hardships of travel and the gloom of return."

Azami 11185

Hasan

عن أبي هريرة قال

كان رسول الله ﷺ إذا سافر فركب راحلته قال بأصبعه- ومد شعبة (أحد رواة الحديث) بإصبعه- قال: اللهم أنت الصاحب في السفر والخليفة في الأهل، اللهم اصحبنا بنصحك واقلبنا بذمة، اللهم ازو لنا الأرض، وهون علينا السفر، اللهم إني أعوذ بك من وعثاء السفر وكآبة المنقلب.

الأعظمي 11185حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications for riding and travel
Section
What the traveler says when mounting for a journey
Numbering
Jami al-Kamil 11185 (2nd edition)
Azami 11185