Whenever the Messenger of Allah ﷺ traveled and mounted his riding camel, he would point with his finger, and Shuba extended his own finger to demonstrate, and 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 upon us. O Allah, I seek refuge in You from the hardship of travel and the gloom of return."
حدثنا محمد بن عمر بن علي المقدمي حدثنا ابن أبي عدي عن شعبة عن عبد الله بن بشر الخثعمي عن أبي زرعة
كان رسول الله ﷺ إذا سافر فركب راحلته قال بإصبعه ومد شعبة إصبعه قال اللهم أنت الصاحب في السفر والخليفة في الأهل اللهم اصحبنا بنصحك واقلبنا بذمة اللهم ازو لنا الأرض وهون علينا السفر اللهم إني أعوذ بك من وعثاء السفر وكآبة المنقلب
[Its chain of transmission is hasan] Nasai also narrated it: 1273/82, 274, no. 550 (Book of Seeking Refuge, Chapter on Seeking Refuge from the Distress of Returning) from Muhammad bin Umar Muqaddami, through the same route.