The Messenger of Allah ﷺ said, "There is no Muslim who leaves his home, intending a journey or otherwise, and says as he departs, 'In the name of Allah, I believe in Allah, I take refuge in Allah, I place my trust in Allah, there is no power and no strength except through Allah,' except that he is granted the good of that departure and shielded from its evil."
حدثنا هاشم حدثنا أبو جعفر الرازي عن عبد العزيز بن عمر رضي الله عنه عن صالح بن كيسان عن رجل
قال رسول الله ﷺ ما من مسلم يخرج من بيته يريد سفرا أو غيره فقال حين يخرج بسم الله آمنت بالله اعتصمت بالله توكلت على الله لا حول ولا قوة إلا بالله إلا رزق خير ذلك المخرج وصرف عنه شر ذلك المخرج
Its isnad is daif, due to the anonymity of the man from whom Salih bin Kaysan narrated. See Majma al-Zawaid 10/128.Abdul-Aziz bin Umar, he is the son of Umar bin Abdul-Aziz, Commander of the Faithful.