Duas for Entering and Leaving the Home — The Sunnah of the Doorway
Every Muslim crosses a doorway many times a day, yet few moments are so full of blessing and protection as this one — if it is crossed the way the Prophet ﷺ taught. Stepping into the home with the name of Allah shuts the door against Shaytan; stepping out with trust in Allah places the whole journey under His protection. These acts take only a few seconds, need no book and no special place, and yet they decide who shares your house with you and Who watches over you outside it.
Below are the authentic duas and manners of entering and leaving the home, taken from the Quran and the proven Sunnah. They cover what to say when you enter, how to greet your family, which foot to step in with, the great dua of leaving the house, and how to return a greeting when you are welcomed home.
1. Entering the Home: Begin with Bismillah
The first Sunnah of the doorway is to enter mentioning the name of Allah. Jabir ibn Abdullah reported that the Messenger of Allah ﷺ said:
“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, and when he does not mention the name of Allah while eating food, he (the Satan) says: You have found a place to spend the night and evening meal.”
(Sahih Muslim 2018 — Sahih)
بِسْمِ اللَّهِ
Transliteration: Bismillah. Meaning: “In the name of Allah.”
Notice what this short word achieves. The house in which Allah’s name is mentioned at the door and at the table is a house Shaytan himself announces he cannot lodge in or eat in. No long litany is needed to earn this protection — just do not rush through the door on autopilot. Pause for one breath, say Bismillah, and step in. You can keep the full dua upon entering the house from our dua library bookmarked until the habit settles.
2. Greet Your Household with Salam
Entering with Bismillah is joined to the second doorway Sunnah: greeting the people of the house with salam. Allah commands:
“So when you enter homes, greet one another with Salām, a greeting prescribed by Allah, which is blessed, pleasant.”
السَّلَامُ عَلَيْكُمْ وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ
Transliteration: As-salamu ‘alaykum wa rahmatullahi wa barakatuh. Meaning: “Peace be upon you, and the mercy of Allah and His blessings.”
The Prophet ﷺ counted spreading this greeting among the very best traits of Islam. A man asked him, “What sort of deeds or (what qualities of) Islam are good?” and he replied: “To feed (the poor) and greet those whom you know and those whom you do not know.” (Sahih al-Bukhari 12 — Sahih)
And salam is not a mere formality of the tongue — it is the seed of love between hearts, and love is the seed of faith itself:
“You shall not enter Paradise so long as you do not affirm belief (in all those things which are the articles of faith) and you will not believe as long as you do not love one another. Should I not direct you to a thing which, if you do, will foster love amongst you: (i. e.) give currency to (the practice of paying salutation to one another by saying) as-salamu alaikum.”
(Sahih Muslim 54 — Sahih)
So let the first sound your family hears from you be peace. Say it clearly, say it with a smile, and say it every single time — coming home is a reunion, and the Sunnah dresses it in salam. And the greeting belongs to the very moment of entering: the verse ties salam to crossing the threshold itself, calling it a greeting “prescribed by Allah, blessed, pleasant.”
3. Step In with the Right Foot
The doorway Sunnah continues with the feet. Aisha, may Allah be pleased with her, said: “The Prophet ﷺ used to like to start from the right side on wearing shoes, combing his hair and cleaning or washing himself and on doing anything else.” (Sahih al-Bukhari 168 — Sahih)
Beginning with the right in all honourable matters was his constant habit, and entering one’s home is one of those honoured moments — so step in with the right foot first, and put your shoes on right foot first when you leave. Small, silent acts like this keep a believer’s whole day arranged around the Prophet’s ﷺ example, and they cost nothing at all. You will find this doorway etiquette gathered with the other daily manners in our Islamic Manners library.
4. Visiting Another Home: Permission First, Then Salam
The Quran also teaches the manners of arriving at someone else’s door:
“O you who believe, do not enter any houses, other than your own houses unless you seek permission and greet their inmates with Salām. That is good for you, so that you may be heedful.”
Knock or ring, announce yourself, greet — and only enter when you are welcomed. Do not stand squarely facing an open doorway or peer inside while you wait; stand to the side, as befits a guest who guards the privacy of others as he would want his own guarded. The order in the verse is the order of the Sunnah: permission and salam first, entry second.
5. Leaving the Home: The Dua of Trust and Protection
If entering the home is guarded by Bismillah, leaving it is guarded by one of the greatest short duas in the Sunnah. Anas ibn Malik reported that the Prophet ﷺ said:
“When a man goes out of his house and says: ‘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 Abu Dawud 5095 — Sahih)
بِسْمِ اللَّهِ تَوَكَّلْتُ عَلَى اللَّهِ، لَا حَوْلَ وَلَا قُوَّةَ إِلَّا بِاللَّهِ
Transliteration: Bismillahi, 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.”
Consider what is promised in exchange for one sentence at the door: guidance, defence and protection — announced to you, and feared by the devils who then abandon your path entirely. The words themselves hand the whole outing over to Allah: I begin in His name, I rely on Him alone, and I admit that no strength to obey or to avoid evil exists except through Him. Say it as you cross the threshold, every time you leave — for work, for the masjid, for an errand of two minutes. The dua upon leaving the house page in our library carries this dua in a clean card for quick revision.
6. When You Are Greeted: Return It — or Better It
Doorways are also where greetings are exchanged, and Allah has set their etiquette in the Quran:
“When you are greeted with a salutation, greet with one better than it, or return the same. Surely, Allah is the One who takes account of everything.”
And the fuller your greeting, the fuller its reward. Imran ibn Husayn reported that a man came to the Prophet ﷺ and said, “Peace be upon you,” and the Prophet ﷺ said: “Ten.” Another said, “Peace and Allah’s mercy be upon you,” and he said: “Twenty.” Another said, “Peace and Allah’s mercy and blessings be upon you,” and he said: “Thirty” — ten, twenty and thirty good deeds for the three forms of the greeting. (Sunan Abu Dawud 5195 — Sahih)
So do not be brief with salam at the door: give the full greeting and you multiply your reward, and when someone greets you, answer with the same or better, as Allah commands. If you are the one arriving on foot and another is seated, yours is the first greeting: “The rider should first greet the pedestrian, and the pedestrian the one who is seated, and a small group should greet a larger group.” (Sahih Muslim 2160 — Sahih)
7. Arriving Somewhere New: A Town, a Market, a Journey’s End
The protection of this Sunnah travels with you. The dua you said when leaving home — guided, defended, protected — covers the road and its end, so when you arrive in a new town or walk into a crowded market, carry the same two habits with you. Begin with the name of Allah, and spread salam to the people you meet. When you stay in another’s house on your journey, the verse of permission and greeting (Quran 24:27 above) governs your arrival, and when you return home at last, your own doorway receives you with the same Bismillah and salam with which the day began. Nothing extra needs to be invented for new places; the doorway Sunnah is the traveller’s Sunnah too.
Common Questions
What if I forget the dua when leaving home? There is no sin in forgetting. Say it the moment you remember, even if you have already walked a little way, and let the forgetting train you to pause at the door next time. These duas are habits of the heart before they are habits of the tongue.
Should I say salam when entering an empty house? Allah’s command in the verse is general: “when you enter homes, greet one another with Salām” (Quran 24:61). When your family is present, greet them; and the Bismillah at the door — which the hadith attaches to entering itself — is said as you enter, whether the house is full or empty (Sahih Muslim 2018).
Is Bismillah enough when entering, or must I add more? The proven core is exactly what the hadith teaches: mention Allah’s name when entering and when eating, and Shaytan is kept from both your lodging and your meal (Sahih Muslim 2018). Add the salam to your family, and you have the complete doorway Sunnah.
Should the duas be said aloud? The personal duas — Bismillah and the leaving-home dua — may be said quietly; what matters is that you actually say them with attention. The salam, by contrast, is a greeting, so say it clearly enough for your family to hear and return.
How do I teach this to my children? By the doorway itself: say Bismillah aloud as you step in together, let them race to be first with the salam, and say the leaving dua where they can hear it before school and outings. Children copy thresholds they cross daily far more than lessons they are told once.
Conclusion
The doorway is the smallest place in a Muslim’s day and one of the most rewarded. In through it with Bismillah, salam for the household, and the right foot first; out through it with “Bismillahi, tawakkaltu ‘alallah” — and Allah’s answer is guidance, defence and protection, with the devils turned away at the gate. Make your door a place of remembrance, and both your home and your journeys will carry barakah (blessing). Browse the full collection in our Duas library to build the rest of your daily routine around these moments.
