Islam attaches meaning to every moment, including the crossing of a threshold. The Prophet ﷺ taught two brief, powerful supplications for the home's doorway: one for when you enter, one for when you leave. Together they frame the home as a sanctuary of Allah's remembrance and every departure as an act of trust in Him.
The Dua for Entering the Home
The Prophet ﷺ said: 'When a man enters his home and mentions the name of Allah upon entering and upon eating, Shaytan says to his companions: You have no place to spend the night and no dinner. And if he enters without mentioning Allah, Shaytan says: I have found a place to spend the night. And if he does not mention Allah upon eating, he says: I have found a place to spend the night and dinner.' (Muslim)
This vivid hadith shows the spiritual significance of simply saying Bismillah when crossing the threshold. Scholars have recorded the following fuller supplication for entering:
"In the name of Allah we entered, in the name of Allah we left, and in our Lord we placed our trust." Then greet your family with the salaam. (Abu Dawud)
The Dua for Leaving the Home
The Prophet ﷺ also taught a specific dua to say when departing from the home. Abu Dawud and Tirmidhi both record it on the authority of Anas ibn Malik (RA):
"In the name of Allah, I place my trust in Allah, and there is no might and no power except with Allah." (Abu Dawud, Tirmidhi)
The Tirmidhi narration adds a beautiful detail: when a person says this dua upon leaving, it is said to them — likely by the angels — 'You have been guided, sufficed, and protected,' and Shaytan turns away from them. Another narration specifies that Shaytan says to a companion: 'How can you have power over a man who has been guided, sufficed, and protected?'
The Etiquette of the Threshold
Beyond the duas themselves, the Prophet ﷺ established a set of etiquettes for entering and leaving the home:
- Enter with the right foot first. The Sunnah is to enter clean, pure, or blessed places with the right side leading.
- Greet with salaam upon entering, even if you think no one is home. The scholars say the angels return the greeting, and the house is filled with blessing.
- Announce yourself before entering to avoid startling those inside. The Prophet ﷺ would not enter suddenly.
- Leave with the left foot first, as entering with the right and leaving with the left mirrors the general Sunnah across many acts of worship.
Why These Two Duas Matter
A home in Islam is not merely a physical shelter. It is described in the Quran and Sunnah as a place of sakina (tranquility), a space for family mercy, and a setting for private worship. Remembering Allah when you enter reconnects you to this spiritual reality. Saying the dua when you leave is an act of tawakkul — you are declaring that you do not step out relying on your own strength alone, but on the might of Allah.
The power of these duas lies in their simplicity. They take seconds to say yet carry the weight of placing your home and your comings and goings under Allah's care. Over time, they become reflex — and a reflex of remembrance is one of the most beautiful things a Muslim can build.
For extra protection when leaving, many scholars also recommend reciting Ayatul Kursi at the door. To build a full arsenal of daily supplications — morning, evening, and situational — see our guide to the best daily duas.
Never Forget These Duas with DeenPal
Get reminders for entering and leaving, morning and evening adhkar, and hundreds of prophetic duas with Arabic, transliteration and audio — all in one free app.
Download DeenPal Free