It is preferred for the traveller to say, upon leaving his house: “In the name of Allah, the Exalted! We have trusted in Allah. There is no power or might, save with Allah. O Allah, I seek refuge in Thee from being misguided and from misguiding others, or that I stray from Your path or cause others to stray from Your path, or that I am wronged or that I do wrong to others, or that I act foolishly or have someone act foolishly with me.”
Then, the person may say whatever he wishes of the supplications which have been recorded from the Prophet, sallallahu alehi wasallam. Here are some of them:
‘Ali ibn Rabi’ah narrates: “‘Ali was brought a riding animal. When he put his foot in the stirrup, he said: ‘In the name of Allah.’ Then, when he sat on it, he said: ‘Praise be to Allah. Glory be to the One Who made this subservient to us for we were not able to make [it subservient] and it is to our Lord that we will return.’ He then praised Allah three times and extolled His greatness three times and then said: ‘Glory be to You; there is no God but Thee. I have wronged my soul, so forgive me. No one forgives sins, except You.’ Then, he laughed. I said to him: ‘Why do you laugh, commander of the faithful?’ He replied: ‘I saw the Messenger of Allah doing the same and then laughing. I asked him: “What makes you laugh, O Messenger of Allah?” He said: “The Lord is pleased with His slave who says: ‘O Lord, forgive me,’ and He says: ‘My slave knows that no one forgives sins, save I.'” This is related by Ahmad and Ibn Hibban, and by al-Hakim who says it is sahih according to the criteria of Imam Muslim.
Al-‘Azdi reports that Ibn ‘Umar taught him that the Messenger of Allah would extol Allah’s greatness three times while seating himself on his camel for a journey. Then he would say: “Glory be to the One who made this subservient to us for we were not able [to make it subservient]. It is to our Lord that we shall return. O Allah, we ask of Thee, in this journey of ours, righteousness and piety and to (be able to) perform such deeds that are pleasing to You. O Allah, make this journey of ours easy for us and make its length short for us. O Allah, companion on this journey and the One who looks after our family and property in our absence. O Allah, I seek refuge in Thee from the difficulty of travelling and the unhappiness in what I see and in finding that something harmful has happened when I return to my property and family.”
When he would return from his journey he would add: “Returning [are we] repentant, serving and praising our Lord.”Â This is related by Ahmad and Muslim.
Ibn ‘Abbas reports that when the Prophet desired to travel, he would say: “O Allah, You are my companion in my travels and the One Who looks after my family [while I am gone]. O Allah, I seek refuge in You from unworthy travel companions and an unpleasant situation upon my return. O Allah, make the distance short for us and the travel easy for us.” When he desired to return, he would say: “We are returning, [while] repenting to Allah, worshipping our Lord and praising Him.” When he would enter upon his family, he would say: “We are repenting to our Lord. We hope that none of our sins would remain.” This is related by Ahmad, at-Tabarani, and al-Bazzar with a sahih chain.
‘Abdullah ibn Sarjas reports that, when the Prophet had to travel, he would say: “O Allah, I seek refuge in You from the difficulty of the journey, and sorrow on return, and disorder after things are set right, from the cry of the oppressed, and from seeing harm having come to our property and family.”
And when he returned he would make a similar supplication, but instead of saying: “from seeing harm having come to our property and family,” he would mention family first and then property. This is related by Ahmad and Muslim.
Ibn ‘Umar reports that when the Prophet went out for a battle or a journey, and night came upon him, he would say: “O Earth, my Lord and your Lord is Allah. I seek refuge in Allah from your evil and the evil of what is on you and the evil of what has been created upon you and the evil of what walks upon you. I seek refuge in Allah from lions and large black snakes, and from snakes and scorpions, and from the evil or all that inhabit the land, and the evil of a father and what he has fathered.” This is related by Ahmad and Abu Dawud.
Khaulah bint Hakim as-Sulimiyah reports that the Prophet sallallahu alehi wasallam said: “Whoever stops at a stopping place should say: ‘I seek refuge by the perfected word of Allah. the Exalted, from the evil of what has been created,’ then nothing will harm him until he leaves that stopping place.” This is related by the group, save al-Bukhari and Abu Dawud.
‘Ata ibn abi Marwan states from his father that Ka’b took an oath by the One who opened up the sea for Moses that Suhaib related to him that whenever the Messenger of Allah sallallahu alehi wasallam saw a city which he wished to enter, he would say: “O Allah, Lord of the seven heavens and what they shade, Lord of the seven earths and what they carry, Lord of the satans and those that they misguide, Lord of the winds and what they blow away, I ask of You for the good of this city and the good of its inhabitants and the good of what is in it. I seek refuge in You from its evil and the evil of its inhabitants and the evil of what is in it.” This is related by an-Nasa’i, ibn Hibban, and al-Hakim who calls it sahih.
Ibn ‘Umar says: “We would travel with the Messenger of Allah, and when he would see the city that he wished to enter, he would say: ‘O Allah, give us blessings from what is in it,’ three times. And, ‘Allah, give us provisions from its harvest and make us beloved to its inhabitants and make the pious people of its inhabitants beloved to us.” This is related by at-Tabarani in al-Ausat with a good chain.
‘Aishah says: “Whenever the Messenger of Allah came to a place that he wished to enter he would say: ‘O Allah, I ask of you of the good of this place and the good of what you have collected therein. O Allah, grant us provisions from its harvest and protect us from its diseases. Make us beloved to its inhabitants and make the pious people of its inhabitants beloved to us.’ This is related by ibn as-Sani.
Abu Hurairah reports that when the Prophet sallallahu alehi wasallam was on a journey and daybreak approached he would say: “Let one listen and witness the praise of Allah and His good favour toward us. Our Lord, accompany us and show us favour [as we] seek refuge in Allah from the hell-fire.” This is related by Muslim.