The dua for entering home that most Muslims learn is Bismillahi walajna, wa bismillahi kharajna, wa ‘alallahi rabbina tawakkalna: “In the name of Allah we have entered, in the name of Allah we have gone out, and in Allah our Lord we trust.”

Those words are the second half of a dua in Sunan Abi Dawud, and al-Albani graded that hadith weak. The part with a firm basis is shorter: say Bismillah as you step in, then greet whoever is inside with salam. This page gives you both, the dua for leaving home too, and a door card to print. The main lines play, so nobody at home needs to read Arabic.
What to do at the door when you come home
| Step | What to say or do | Basis |
|---|---|---|
| 1. Step in | Bismillah | Firm: Sahih Muslim 2018 |
| 2. Greet the family | As-salamu ‘alaykum | Firm: Quran 24:61 |
| 3. The longer dua | If your family uses it, the two lines below | Weak chain: Abi Dawud 5096 |
| Which foot | The right, if you keep this habit | General: the Prophet ﷺ liked to start with the right (Bukhari 426). The reports we read do not name the front door. |
The first step has a reason a child can hold on to. The Prophet ﷺ said that when a person mentions Allah on entering the house and at the meal, Satan says there is no place to stay the night and no evening meal (Sahih Muslim 2018). The Quran gives the second: “when you enter houses, give greetings of peace upon each other” (Quran 24:61).
The dua for entering home in Arabic, with its meaning
The full wording has two lines. Press play, say the line back, then move on to the next.
Line 1
Allahumma inni as’aluka khayral-mawlaji wa khayral-makhraji
O Allah, I ask You for good when entering and good when going out.
Sunan Abi Dawud 5096. Graded weak by al-Albani.
Line 2
Bismillahi walajna, wa bismillahi kharajna, wa ‘alallahi rabbina tawakkalna
In the name of Allah we have entered, in the name of Allah we have gone out, and in Allah our Lord we trust.
Sunan Abi Dawud 5096. Graded weak by al-Albani.
اللَّهُمَّ إِنِّي أَسْأَلُكَ خَيْرَ الْمَوْلِجِ وَخَيْرَ الْمَخْرَجِ بِسْمِ اللَّهِ وَلَجْنَا وَبِسْمِ اللَّهِ خَرَجْنَا وَعَلَى اللَّهِ رَبِّنَا تَوَكَّلْنَا
How strong is this dua? It comes from one hadith of Abu Malik al-Ash’ari, which also says to greet your family afterwards. Sunnah.com prints al-Albani’s grade for it as da’if, which means weak (Sunan Abi Dawud 5096).
The short version and the “extended dua” you may see listed apart are that same hadith, and the well-known book Hisn al-Muslim gives only its second line. Nothing stops you asking Allah for good in these words. Just teach it as a dua many Muslims use, and keep Bismillah and salam as the part that is sure. If the grade matters in your family, ask a scholar you trust.
The key words
| Arabic | Say | Meaning |
|---|---|---|
| وَلَجْنَا | walajna | we have entered |
| خَرَجْنَا | kharajna | we have gone out |
| رَبِّنَا | rabbina | our Lord |
| تَوَكَّلْنَا | tawakkalna | we trust |
It says “we”, not “I”, so it fits a whole family coming through the door together. Would you like someone to listen to how your child says it? One of our tutors can, in a Quran class for kids or a class for adults, and the first lesson is free.
The dua for leaving home
This one has the stronger grade of the two doors, so it is the one to teach first if you only pick one.
Leaving home
Bismillah, tawakkaltu ‘alallah, la hawla wa la quwwata illa billah
In the name of Allah, I trust in Allah; there is no might and no power except with Allah.
Sunan Abi Dawud 5095. Graded sahih by al-Albani.
The hadith says that whoever says this on going out is told: you are guided, defended and protected, and the devils move away from him (Sunan Abi Dawud 5095). The last part, la hawla wa la quwwata illa billah, is a phrase of its own on our Islamic phrases page.
A second dua for going out
Umm Salamah said the Prophet ﷺ never left her house without raising his eyes to the sky and saying this. It suits older children and adults, because it asks for protection from wronging people as well as from being wronged. This one has no recording yet, so ask a tutor to read it with you.
Going out
Allahumma inni a’udhu bika an adilla aw udalla, aw azilla aw uzalla, aw azlima aw uzlama, aw ajhala aw yujhala ‘alayy
O Allah, I seek refuge in You from straying or being led astray, from slipping or being made to slip, from wronging or being wronged, from acting foolishly or having foolishness done to me.
Sunan Abi Dawud 5094. Graded sahih by al-Albani.
Read nextDua for Entering and Leaving the Masjid, With AudioIf nobody is home
Abdullah ibn Umar said that someone entering a house nobody lives in should say the words below (Al-Adab Al-Mufrad 1055). These are his words, not a saying of the Prophet ﷺ. You may read that this greets the angels, but the report as printed on sunnah.com does not mention angels.
An empty house
As-salamu ‘alayna wa ‘ala ‘ibadillahis-salihin
Peace be upon us and upon the righteous servants of Allah.
Al-Adab Al-Mufrad 1055. The words of Abdullah ibn Umar.
A door card to print

Download the door card as a one-page PDF. It has what to say coming in and going out, with the Arabic, the transliteration, the meaning and the source of each.
Teaching it to a child
Start with one word. For a week, nobody in the house steps in without saying Bismillah out loud, grown-ups included. The story of Satan left with no bed and no supper does most of the work with a five-year-old, and our bismillah page has the rest of what the word means.
Then give your child the job of saying salam first when you come in, and let them correct you when you forget. Put the leaving dua by the door at the height of their shoes. Once these two are easy, the same habit carries over to the dua for entering the masjid and the rest of the daily duas for kids.
Questions about the home duas
What is the dua for entering home?
The dua most people learn is Bismillahi walajna, wa bismillahi kharajna, wa ‘alallahi rabbina tawakkalna, “In the name of Allah we have entered, in the name of Allah we have gone out, and in Allah our Lord we trust.” It comes from Sunan Abi Dawud 5096, which al-Albani graded weak.
What do you say when entering your house in Islam?
Say Bismillah as you step in, based on Sahih Muslim 2018, then greet the people inside with as-salamu ‘alaykum, based on Quran 24:61. Many Muslims add the dua above.
What do you say before leaving home?
Bismillah, tawakkaltu ‘alallah, la hawla wa la quwwata illa billah: “In the name of Allah, I trust in Allah; there is no might and no power except with Allah.” Al-Albani graded this hadith sahih (Sunan Abi Dawud 5095).
Is the dua for entering home authentic?
Sunnah.com prints al-Albani’s grade for Sunan Abi Dawud 5096 as da’if, meaning weak. Saying Allah’s name on entering is authentic, from Sahih Muslim 2018, and the Quran tells us to give greetings of peace on entering houses (24:61).
What do you say when entering an empty house?
As-salamu ‘alayna wa ‘ala ‘ibadillahis-salihin, “Peace be upon us and upon the righteous servants of Allah.” Abdullah ibn Umar said this about a house nobody lives in (Al-Adab Al-Mufrad 1055).
Which foot do you enter the house with?
Many Muslims use the right, following the Prophet’s general liking for starting with the right (Sahih al-Bukhari 426). The reports we read do not name the front door, so treat it as a good habit and not a condition.
Nobody at home reads Arabic? Your child can still learn every word of this.
Our tutors teach children and adults one to one and online, from the sounds of the letters up to reading the Quran. See Quran classes for kids or Quran classes for adults, or message us whenever you are ready. The first lesson is free.
Lessons in this subject: Online Islamic Studies




