The dua for leaving home is only one line long, yet the Prophet ﷺ said that whoever says it is told: "You are guided, defended and protected." Together with the supplications for coming home, walking to the mosque, entering it and leaving it, these short words turn the most ordinary moments of the day into worship. This page gives each one with Arabic, transliteration, meaning and its source, plus a quick table you can print for the front door.
This is part of our guide to Daily Duas From Hisn al-Muslim. You can also find these supplications in our Hisn al-Muslim duas collection, each in its own short chapter.
The dua for leaving home
Anas ibn Malik (may Allah be pleased with him) reported that the Prophet ﷺ said: "When a man goes out of his house and says:
بِسْمِ اللَّهِ تَوَكَّلْتُ عَلَى اللَّهِ لاَ حَوْلَ وَلاَ قُوَّةَ إِلاَّ بِاللَّهِ
Transliteration: Bismillah, tawakkaltu 'alallah, la hawla wa la quwwata illa billah.
Meaning: "In the name of Allah, I trust in Allah; there is no might and no power but in Allah."
…the following will be said to him at that time: 'You are guided, defended and protected.' The devils will go far from him and another devil will say: How can you deal with a man who has been guided, defended and protected?" (Sunan Abi Dawud, no. 5097 (Masaajidh edition); also reported by at-Tirmidhi; Hisn al-Muslim, dua 16.)
Three short phrases, three gifts: Bismillah (beginning with Allah's name) is answered with guidance; tawakkaltu 'alallah (trusting Him) with being taken care of; and la hawla wa la quwwata illa billah (admitting that all ability is from Him) with protection.
A second supplication when going out
Umm Salamah (may Allah be pleased with her) said the Prophet ﷺ never left her house without raising his eyes to the sky and saying:
اللَّهُمَّ إِنِّي أَعُوذُ بِكَ أَنْ أَضِلَّ أَوْ أُضَلَّ أَوْ أَزِلَّ أَوْ أُزَلَّ أَوْ أَظْلِمَ أَوْ أُظْلَمَ أَوْ أَجْهَلَ أَوْ يُجْهَلَ عَلَىَّ
Transliteration: Allahumma inni a'udhu bika an adilla aw udall, aw azilla aw uzall, aw azlima aw uzlam, aw ajhala aw yujhala 'alayy.
Meaning: "O Allah! I seek refuge in Thee lest I stray or be led astray, or slip or made to slip, or cause injustice, or suffer injustice, or do wrong, or have wrong done to me."
(Sunan Abi Dawud, no. 5096 (Masaajidh edition); Hisn al-Muslim, dua 17.)
Notice the pattern: each pair asks for protection from doing harm and from having harm done to you. It is a perfect supplication for the commute, school, work or a difficult meeting.
The dua for entering home
Abu Malik al-Ash'ari reported that the Prophet ﷺ said: "When a man goes into his house, he should say:
اللَّهُمَّ إِنِّي أَسْأَلُكَ خَيْرَ الْمَوْلِجِ وَخَيْرَ الْمَخْرَجِ بِسْمِ اللَّهِ وَلَجْنَا وَبِسْمِ اللَّهِ خَرَجْنَا وَعَلَى اللَّهِ رَبِّنَا تَوَكَّلْنَا
Transliteration: Allahumma inni as'aluka khayral-mawliji wa khayral-makhraj. Bismillahi walajna, wa bismillahi kharajna, wa 'alallahi Rabbina tawakkalna.
Meaning: "O Allah! I ask Thee for good both when entering and when going out; in the name of Allah we have entered, and in the name of Allah we have gone out, and in Allah our Lord do we trust."
He should then greet his family." (Sunan Abi Dawud, no. 5098 (Masaajidh edition); Hisn al-Muslim, dua 18, gives the part from "Bismillahi walajna".)
Why mentioning Allah at the door matters
Jabir ibn 'Abdullah reported the Prophet ﷺ as saying: "When a person enters his house and mentions the name of Allah at the time of entering it and while eating the food, Satan says (addressing himself): You have no place to spend the night and no evening meal; but when he enters without mentioning the name of Allah, the Satan says: You have found a place to spend the night." (Sahih Muslim, no. 5125 (Masaajidh edition).)
The same hadith links the doorway and the dinner table, which is why many families teach these two together; see our guide to the dua before and after eating for the mealtime words.
Then say salam
The hadith of Abu Malik ends with "then greet his family". Saying "As-salamu 'alaykum" when you walk in is part of the Sunnah of entering, even if only children are home.
Walking to the mosque: the dua of light
Ibn 'Abbas (may Allah be pleased with them) spent a night in the house of his aunt Maymunah, the Prophet's wife. He described how, after Bilal called him for the prayer, the Prophet ﷺ went out to pray, and among his supplications was:
اللَّهُمَّ اجْعَلْ فِي قَلْبِي نُورًا وَفِي بَصَرِي نُورًا وَفِي سَمْعِي نُورًا وَعَنْ يَمِينِي نُورًا وَعَنْ يَسَارِي نُورًا وَفَوْقِي نُورًا وَتَحْتِي نُورًا وَأَمَامِي نُورًا وَخَلْفِي نُورًا وَعَظِّمْ لِي نُورًا
Transliteration: Allahummaj'al fi qalbi nura, wa fi basari nura, wa fi sam'i nura, wa 'an yamini nura, wa 'an yasari nura, wa fawqi nura, wa tahti nura, wa amami nura, wa khalfi nura, wa 'azzim li nura.
Meaning: "O Allah, place light in my heart, light in my sight, light in my hearing, light on my right hand, light on my left hand, light above me, light below me, light in front of me, light behind me, and enhance light for me."
(Sahih Muslim, no. 1680 (Masaajidh edition). Hisn al-Muslim places a longer version under "Invocation for going to the mosque", dua 19.)
The dua for entering mosque
Step in with your right foot (Hisn al-Muslim, dua 20, notes this). Abu Usaid reported that the Messenger of Allah ﷺ said: "When any one of you enters the mosque, he should say:
اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ
Transliteration: Allahummaftah li abwaba rahmatik.
Meaning: "O Allah! open for me the doors of Thy mercy."
(Sahih Muslim, no. 1546 (Masaajidh edition).)
There is also a longer form of protection. 'Abdullah ibn 'Amr reported that when the Prophet ﷺ entered the mosque he would say:
أَعُوذُ بِاللَّهِ الْعَظِيمِ وَبِوَجْهِهِ الْكَرِيمِ وَسُلْطَانِهِ الْقَدِيمِ مِنَ الشَّيْطَانِ الرَّجِيمِ
Transliteration: A'udhu billahil-'azim, wa bi-wajhihil-karim, wa sultanihil-qadim, minash-shaytanir-rajim.
Meaning: "I seek refuge in Allah, the Magnificent, and in His noble face, and in his eternal domain, from the accursed Devil."
The narration adds that when someone says this, the devil says: "he is protected from me all the day long" (Sunan Abi Dawud, no. 466 (Masaajidh edition)). Hisn al-Muslim, dua 20, combines both and inserts "Bismillah, was-salatu was-salamu ‘ala Rasulillah" (In the name of Allah, and prayers and peace be upon the Messenger of Allah) between them.
Allah describes mosques as houses "which Allah has ordered to be raised and that His name be mentioned therein; exalting Him within them in the morning and the evenings" (Quran 24:36). Entering with remembrance sets the tone for your prayer.
The dua for leaving the mosque
Step out with your left foot. In the same hadith of Abu Usaid, the Prophet ﷺ said: "…and when he steps out he should say:
اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ
Transliteration: Allahumma inni as'aluka min fadlik.
Meaning: "O Allah! I beg of Thee Thy Grace."
(Sahih Muslim, no. 1546 (Masaajidh edition); Hisn al-Muslim, dua 21, adds "Bismillah, was-salatu was-salamu ‘ala Rasulillah" before it and "Allahumma’simni minash-shaytanir-rajim", "O Allah, guard me from the accursed devil", after it.)
On entering you ask for mercy; on leaving, for Allah's bounty (fadl), as you head back out to work and daily life. Before you leave, remember to finish the remembrances after the prayer; our page on the dua after salah lists them in order.
Front-door cheat sheet
| Moment | Arabic | Say |
|---|---|---|
| Leaving home | بِسْمِ اللَّهِ تَوَكَّلْتُ عَلَى اللَّهِ لاَ حَوْلَ وَلاَ قُوَّةَ إِلاَّ بِاللَّهِ | Bismillah, tawakkaltu 'alallah, la hawla wa la quwwata illa billah |
| Entering home | بِسْمِ اللَّهِ وَلَجْنَا وَبِسْمِ اللَّهِ خَرَجْنَا وَعَلَى اللَّهِ رَبِّنَا تَوَكَّلْنَا | Bismillahi walajna… then salam |
| Walking to the mosque | اللَّهُمَّ اجْعَلْ فِي قَلْبِي نُورًا | Allahummaj'al fi qalbi nura… |
| Entering the mosque (right foot) | اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ | Allahummaftah li abwaba rahmatik |
| Leaving the mosque (left foot) | اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ | Allahumma inni as'aluka min fadlik |
Teaching children the doorway duas
- Stick a card by the door with the leaving-home line. Say it together every school morning.
- Make "right foot in, left foot out" a game at the mosque.
- Explain the reward simply: "When we say this, Allah guides us and protects us all day."
- Visit the mosque regularly. If you are new to an area, you can find a mosque near you on Masaajidh.
Conclusion
These five supplications take seconds but cover the whole journey of a day: from your front door, to the mosque, and home again. Start with the dua for leaving home tomorrow morning, add the entering-home words that evening, and the mosque supplications at your next prayer. For the full chapters, open our Hisn al-Muslim duas.
Keep learning:
- Daily Duas From Hisn al-Muslim: A Guide With Arabic and Meaning
- Dua Before and After Eating
- Dua and Dhikr After Salah
Frequently asked questions
What is the dua for leaving home?
Say 'Bismillah, tawakkaltu 'alallah, la hawla wa la quwwata illa billah', meaning 'In the name of Allah, I trust in Allah; there is no might and no power but in Allah'. Abu Dawud reports that the Prophet said whoever says it is told 'You are guided, defended and protected', and the devils move away from him.
What is the dua for entering the mosque?
Enter with your right foot and say 'Allahummaftah li abwaba rahmatik', meaning 'O Allah, open for me the doors of Your mercy', as reported in Sahih Muslim. You can also say the protection reported by Abu Dawud: 'A'udhu billahil-'azim, wa bi-wajhihil-karim, wa sultanihil-qadim, minash-shaytanir-rajim'.
What do I say when I come home?
Abu Dawud reports the supplication 'Allahumma inni as'aluka khayral-mawliji wa khayral-makhraj, Bismillahi walajna, wa bismillahi kharajna, wa 'alallahi Rabbina tawakkalna', followed by greeting your family with salam. Sahih Muslim adds that mentioning Allah's name when entering denies Satan a place to stay in your home.
Which foot do I use to enter and leave the mosque?
The common practice, noted in Hisn al-Muslim, is to enter the mosque with the right foot first and leave with the left foot first. This follows the general Sunnah of beginning honourable things with the right. Pair it with the entering supplication for mercy and the leaving supplication asking Allah for His bounty.

