Sleep and home life

In short
- Almost everything we do at home is simply halal. The sunnahs of the home are gifts that bring blessing and protection, not a list of rules to fear. Missing one is not a sin.
- Before sleep: make wudu, dust the bed, lie on your right side, and say some of the bedtime duas: Ayat al-Kursi, the three Quls, 33 SubhanAllah, 33 Alhamdulillah and 34 Allahu akbar, and Bismika Allahumma amutu wa ahya.
- A good dream is from Allah: thank Him and tell only people you love. A bad dream is from shaytan: spit lightly to your left, seek refuge in Allah, turn over, and do not tell anyone. It will not harm you.
- Say Allah's name when you go in and out of the house. At night, close the doors, cover food and put out any fire. Ask permission before you enter someone's home or room, and respect privacy.
- Nabi ﷺ helped with the work of his home, was gentle with his family, and prayed his extra prayers at home. Keep your home alive with Quran, salah and kindness.
Why the home matters
Allah says He made your homes a place of rest for you1. The home is where our children learn what Islam looks like.
Allah also says: protect yourselves and your families from the Fire2. And Nabi ﷺ said: a man is the guardian of his family and is responsible for them, and a woman is the guardian of her husband's home3. So the home is a trust from Allah.
Please read this chapter with a light heart. Nearly all of home life is simply halal. What follows are mostly sunnahs: small habits of Nabi ﷺ that bring reward, blessing and protection.
- A sunnah is a gift, not a test. If you do it, you are rewarded. If you forget it, it is not a sin.
- Only a few things in this chapter are required, like asking permission before entering someone's home, and not spying. We will say clearly which ones.
Sources for this section
- 1(Quran 16:80)
- 2(Quran 66:6)
- 3(Bukhari 893)
Before you lie down
Allah calls sleep one of His signs4. He also says that in sleep, He takes the soul for a while, and sends it back to whoever is meant to live on5. That is why the bedtime sunnahs feel like handing yourself over to Allah for the night.
Sleep after Isha
Nabi ﷺ disliked sleeping before Isha, and chatting late after it6. Talking after Isha for a good reason, like family, study or a guest, is fine.
The steps
- Make wudu. Nabi ﷺ said: when you go to bed, make wudu as you do for salah7. If you go to sleep without it, that is fine. It is a sunnah, not a condition.
- Dust off your bed. Shake it out with a cloth or the edge of your clothes, because you do not know what came onto it after you left it8.
- Lie on your right side. Nabi ﷺ said: then lie down on your right side9. Turning over in your sleep is normal.
Nabi ﷺ saw a man lying on his stomach and said: this is a way of lying that Allah does not love10. So scholars say lying face down is disliked (makruh), not haram. If a doctor tells you to sleep in a certain position, or you have pain, do what is best for your health.
Sources for this section
- 4(Quran 30:23)
- 5(Quran 39:42)
- 6(Bukhari 568)
- 7(Bukhari 247)
- 8(Bukhari 6320)
- 9(Bukhari 247)
- 10(Tirmidhi 2768)
What to say in bed
Nabi ﷺ had a set of short things he said at bedtime. You do not have to say all of them every night. Choose what you can, and keep it up. You can read and listen to every one of them on our Sleep and waking duas page.
| What | What it does |
|---|---|
| Ayat al-Kursi11 | A guard from Allah stays with you, and no shaytan comes near you until morning12. |
| The three Quls: Al-Ikhlas, Al-Falaq and An-Nas | Nabi ﷺ cupped his hands, blew lightly into them, recited the three surahs, and wiped his hands over as much of his body as he could, starting with his head and face. He did this three times13. |
| The last two ayat of Al-Baqarah | Whoever recites them at night, they are enough for him14. |
| 33 SubhanAllah, 33 Alhamdulillah, 34 Allahu akbar | Nabi ﷺ said this is better for you than a servant1516. |
| Bismika Allahumma amutu wa ahya | In Your name, O Allah, I die and I live17. |
| The dua of handing yourself over (Allahumma aslamtu nafsi ilayk...) | Make it the last thing you say. If you die that night, you die on the fitrah, the pure faith18. |
The full story: the thief who taught Ayat al-Kursi
Nabi ﷺ put Abu Hurairah in charge of guarding the zakat food of Ramadan. One night, someone came and started taking handfuls of food. Abu Hurairah caught him and said: I will take you to Nabi ﷺ.
The man begged: I am poor and I have a family. Abu Hurairah felt sorry for him and let him go. In the morning Nabi ﷺ said: he lied to you, and he will come back. The same thing happened the next night. On the third night Abu Hurairah said: this is the last time.
The man said: let me go, and I will teach you words that Allah will benefit you with. When you go to bed, recite Ayat al-Kursi from beginning to end. A guard from Allah will stay with you, and no shaytan will come near you until morning.
Abu Hurairah told Nabi ﷺ. He said: he told you the truth, even though he is a great liar. Do you know who you were talking to these three nights? It was shaytan19.
What this teaches us
- Ayat al-Kursi protects you at night. Even shaytan admitted it.
The full story: Fatimah asks for a servant
Fatimah, the daughter of Nabi ﷺ, did the heavy work of her home herself. Grinding grain on a hand mill gave her blisters on her hands. She heard that some captives had been brought to Madinah, and went to ask her father for a servant.20.
That night Nabi ﷺ came to the home of Fatimah and Ali. They had already gone to bed. He said: stay where you are, and sat down between them21.
Then he said: shall I tell you something better than what you asked for? When you go to bed, say Allahu akbar 34 times, Alhamdulillah 33 times and SubhanAllah 33 times. That is better for you than a servant22.
What this teaches us
- Housework is honorable. The daughter of the Messenger of Allah ground her own grain.
- Dhikr gives strength. Many scholars say this dhikr helps a tired person get through the work of the next day.
Sources for this section
- 11(Quran 2:255)
- 12(Bukhari 2311)
- 13(Bukhari 5017)
- 14(Bukhari 5009)
- 15(Bukhari 3113)
- 16(Muslim 2727)
- 17(Bukhari 6324)
- 18(Bukhari 247)
- 19(Bukhari 2311)
- 20(Bukhari 3113)
- 21(Bukhari 3113)
- 22(Bukhari 3113)
Dreams: good and bad
Nabi ﷺ said dreams are of three kinds: a good dream, which is good news from Allah; a sad or scary dream, which is from shaytan; and a dream that comes from your own mind, about the things you were thinking of23.
A good dream
- It is from Allah. Thank Allah for it24.
- Tell it only to someone you love25, who will wish you well.
- Nabi ﷺ said: nothing is left of prophethood except the good news. They asked what that was. He said: the true good dream26. A true dream of a good person is a small part of prophethood27.
A bad dream
Nabi ﷺ taught us exactly what to do. He promised: then it will not harm you28.
- Spit lightly to your left, three times. Scholars explain this as a very light spit, mostly air29.
- Seek refuge in Allah from shaytan and from the evil of the dream, three times. Say: A'udhu billahi minash-shaytanir-rajim30.
- Turn over to your other side31.
- If you like, get up and pray32.
- Do not tell anyone about it33.
Sources for this section
- 23(Muslim 2263)
- 24(Bukhari 6985)
- 25(Muslim 2261)
- 26(Bukhari 6990)
- 27(Bukhari 6983)
- 28(Bukhari 3292)
- 29(Muslim 2262)
- 30(Muslim 2262)
- 31(Muslim 2262)
- 32(Muslim 2263)
- 33(Bukhari 6985)
Waking up
When Nabi ﷺ woke up, he said: Alhamdu lillahil-ladhi ahyana ba'da ma amatana wa ilayhin-nushur. All praise is for Allah, who gave us life after He took it, and to Him we return34.
- Clean your mouth. When Nabi ﷺ got up at night, he cleaned his mouth with the siwak35.
- Untie the three knots. Nabi ﷺ said shaytan ties three knots on a sleeping person, whispering: the night is long, so sleep. When you wake and remember Allah, one knot opens. When you make wudu, the second opens. When you pray, the third opens, and you start the day full of energy and in a good mood36.
- Fajr. Nabi ﷺ was told about a man who slept until morning and missed the prayer. He said: shaytan has urinated in his ears37. This is said about a habit, not about a single accident. If you slept through Fajr by mistake, pray it as soon as you wake up, without guilt. See Why salah, who must pray, and the times.
Waking for Tahajjud, the night prayer, is one of the most loved deeds. The Fiqh chapter Sunnah prayers explains how.
Sources for this section
- 34(Bukhari 6312)
- 35(Bukhari 245)
- 36(Bukhari 1142)
- 37(Bukhari 1144)
Going out and coming home
Leaving the house
Nabi ﷺ said: whoever leaves his home and says Bismillah, tawakkaltu 'alallah, wa la hawla wa la quwwata illa billah (In Allah's name, I trust in Allah, and there is no power and no strength except with Allah), it is said to him: you are guided, you are looked after, and you are protected. And shaytan moves away from him3839.
Nabi ﷺ also asked Allah, as he left home, to keep him from going wrong, and from wronging anyone or being wronged40.
Coming home
- Say Bismillah as you come in, and before you eat. Nabi ﷺ said shaytan then tells his friends: you have no place to stay here tonight, and no dinner. But if you forget Allah's name, shaytan says: you have found a place to stay, and dinner too41.
- Say salam. Allah says: when you enter houses, greet each other with a greeting from Allah, blessed and good42. Scholars say: if the house is empty, still say salam.
- Use the siwak. Aisha was asked what Nabi ﷺ did first when he came home. She said: he used the siwak43.
Scholars recommend going in with the right foot first. The duas are on our Duas page, under Home.
Sources for this section
- 38(Abu Dawud 5095)
- 39(Tirmidhi 3426)
- 40(Abu Dawud 5094)
- 41(Muslim 2018)
- 42(Quran 24:61)
- 43(Muslim 253)
Keeping the home safe at night
Nabi ﷺ gave simple night-time advice that mixes faith and common sense:
- Close the doors and say Allah's name. Shaytan does not open a closed door4445.
- Cover food and drink, and say Allah's name. If you have no lid, even lay a stick across the top46.
- Put out fires and lamps before you sleep47. One night a house in Madinah burned down with its family inside. Nabi ﷺ said: this fire is your enemy, so put it out when you go to sleep48.
- Keep small children inside when the sun sets, for the first dark part of the night. After that they can go out4950.
What this means today
Scholars explain that the reason for the fire rule is danger. So it covers today's risks: candles, oil lamps, gas stoves, heaters, an iron left on, a phone charging on the bed. A safe electric night light is not what the hadith is about, and leaving one on is fine.
Sources for this section
- 44(Muslim 2012)
- 45(Bukhari 3280)
- 46(Bukhari 3280)
- 47(Bukhari 6293)
- 48(Bukhari 6294)
- 49(Bukhari 3280)
- 50(Muslim 2013)
Asking permission before you enter
This part is required, not only a sunnah. Allah says: do not enter homes other than your own until you have asked permission and greeted the people inside. If no one is there, do not go in until you are given permission. And if you are told to go back, then go back. That is purer for you51.
How to ask
- Knock or ring up to three times. If there is no answer, leave. Nabi ﷺ said: if you ask permission three times and it is not given, go back52. Do not be offended.
- Say your name. Jabir knocked on the door of Nabi ﷺ, who asked: who is it? Jabir said: me. Nabi ﷺ said: me, me? as if he did not like it53. "Me" tells the person nothing. Say "It is Ahmad".
- Do not stand facing the open door. Nabi ﷺ stood to the right or left of a door, not in front of it, and said salam54.
- Do not look in. Nabi ﷺ said: asking permission was made a rule because of the eyes55.
Inside your own home
Allah also teaches privacy between family members. Young children and helpers in the home should knock at three times of privacy: before Fajr, at midday when people change for a rest, and after Isha. At other times, they can come and go freely56. Once children reach puberty, they always ask permission, like adults57.
- Nabi ﷺ said: when children are ten, give them separate beds58.
- Nabi ﷺ said: cover your awrah (the private parts of the body) except from your wife or husband59.
Sources for this section
- 51(Quran 24:27-28)
- 52(Bukhari 6245)
- 53(Bukhari 6250)
- 54(Abu Dawud 5186)
- 55(Bukhari 6241)
- 56(Quran 24:58)
- 57(Quran 24:59)
- 58(Abu Dawud 495)
- 59(Abu Dawud 4017)
Privacy and secrets
Allah says: do not spy on one another60. Nabi ﷺ said the same: do not look for people's faults, and do not spy61.
- Phones and messages. Reading another adult's phone, messages or letters without permission is a kind of spying, even inside a family.
- Parents of young children are different. Watching over what a child does online is part of caring for them62. As children grow, give them more trust and more privacy.
- Home stays home. Nabi ﷺ warned strongly against a man who is close with his wife and then tells others her secrets63. The same goes for a wife. Bedroom matters and family troubles are not for friends or social media.
If you need help with a family problem, speaking to a scholar, a counselor or a trusted elder is not breaking privacy. It is looking for help.
Sources for this section
- 60(Quran 49:12)
- 61(Bukhari 6064)
- 62(Bukhari 893)
- 63(Muslim 1437)
Siwak: the sunnah of a clean mouth
The siwak (also called miswak) is a small stick, usually from the arak tree, used to clean the teeth.
- Nabi ﷺ said: the siwak cleans the mouth and pleases the Lord64.
- He said: if it were not hard on my people, I would have told them to use the siwak for every prayer65. So it is a strong sunnah, not required.
- He used it when he woke at night66 and the moment he came home67.
Scholars recommend it most at wudu and salah, on waking, on coming home, and whenever your mouth smells.
What about a toothbrush?
- Many scholars say a toothbrush and toothpaste give you the sunnah, because the aim is a clean mouth.
- Others say the full sunnah is with an actual stick like the arak siwak, and a toothbrush gives a share of the reward.
Both views are held by real scholars. A good middle path many people take: brush your teeth morning and night, and keep a siwak in your pocket or by your prayer mat.
Sources for this section
- 64(Nasai 5)
- 65(Bukhari 887)
- 66(Bukhari 245)
- 67(Muslim 253)
Nabi ﷺ in his home
Aisha was asked what Nabi ﷺ did at home. She said: he was busy serving his family, and when the time for prayer came, he went out to pray68.
- Helping at home is sunnah. Cooking, cleaning, washing dishes, changing diapers: a man who does these is following Nabi ﷺ, not losing his dignity. Other reports describe him mending his own clothes and shoes.
- Gentle with his family. Nabi ﷺ never hit a woman or a servant69.
- The best of you. He said: the best of you is the best to his family, and I am the best of you to my family70. And: the best of you are the best to their wives71.
- Playful. On a journey he raced Aisha, and she won. Years later they raced again and he won. He laughed and said: this is for that one72.
- Loving with children. He kissed his grandson Hasan. A man said: I have ten children and have never kissed one of them. Nabi ﷺ said: whoever does not show mercy will not be shown mercy73.
- Spending on family is charity. When you spend on your family hoping for Allah's reward, it counts as sadaqah74. Even the bite of food you put in your wife's mouth is rewarded75.
Allah made spouses so that you find peace in each other, and put love and mercy between you76. For more, read the anger you take home and five signs a home is going wrong.
Sources for this section
- 68(Bukhari 676)
- 69(Muslim 2328)
- 70(Tirmidhi 3895)
- 71(Tirmidhi 1162)
- 72(Abu Dawud 2578)
- 73(Bukhari 5997)
- 74(Bukhari 5351)
- 75(Bukhari 56)
- 76(Quran 30:21)
A home that is alive
Nabi ﷺ said: do not make your houses into graves. Shaytan runs away from a house where Surah Al-Baqarah is recited77. He also said: a house where Allah is remembered and a house where He is not are like the living and the dead78.
- Pray some prayers at home. Nabi ﷺ said: pray some of your prayers in your houses, and do not make them graves79. The best prayer a person prays is at home, except the fard (required) prayers80. So men pray the fard at the masjid when they can, and the sunnah prayers at home.
- Let the Quran be heard. Read from Surah Al-Baqarah at home, even a page a day, and other surahs you love. Playing a recitation is also a good way to fill the home with the Quran. Our Quran page has recitation you can play.
- Let children see you pray. Children copy what they see more than what they hear. Read your children are watching.
A Muslim home does not need to be big or rich. Ask Allah as His servants do: our Lord, give us joy and comfort in our spouses and our children81.
Sources for this section
- 77(Muslim 780)
- 78(Muslim 779)
- 79(Bukhari 432)
- 80(Bukhari 731)
- 81(Quran 25:74)
Things people think are haram, but are not
Many home "rules" come from culture, not from Islam. None of these have a sahih text behind them:
- Sleeping with your feet toward the qibla. No sahih hadith forbids it. Some people avoid it out of respect, which is fine, but it is not a sin.
- Sweeping the floor or cutting nails at night "brings bad luck". Islam has no bad-luck omens. Nabi ﷺ rejected them. See Shirk: what breaks tawhid.
- Sleeping on your left side or your back. The right side is sunnah. The other sides are allowed. Only lying face down is disliked.
- Forgetting the bedtime duas. Not a sin. You just missed a reward. Say them tomorrow.
- A husband doing housework. Not shameful at all. It is the sunnah of Nabi ﷺ82.
What about pictures and dogs in the home? Scholars discuss these in Music, pictures and entertainment and Animals and pets.
Sources for this section
- 82(Bukhari 676)
Common questions
- I fall asleep before I finish the bedtime duas.
- That is fine and very common. Start with the ones that matter most to you, like Ayat al-Kursi, while you are still sitting up. Whatever you said counts.
- My child keeps having nightmares. What can I do?
- Teach the child to say A'udhu billah and turn over. Recite the three Quls over them at bedtime and wipe your hands over them, as Nabi ﷺ did for himself83. Keep scary screens away before bed. If it goes on, ask your doctor.
- I knocked three times at a friend's house and no one answered, but I can hear people inside.
- Leave, without being upset. That is the sunnah84. Send a message later. They may have had a good reason.
- Is it okay to check my spouse's phone if I have doubts?
- Spying is not allowed85. Talk to each other honestly. If trust is truly broken, get help from a scholar or a marriage counselor you both trust.
- Do I have to use a stick siwak, or is my toothbrush enough?
- Many scholars say a toothbrush gives you the sunnah. Others prefer the stick. Both views are held by real scholars, so follow a scholar you trust. Many people do both.
- I am a new Muslim and do not know any of these duas yet.
- Start with just Bismillah when you come home, and Bismika Allahumma amutu wa ahya at bedtime. You can say any dua in your own language too. Add the others slowly from our Sleep and waking duas.
Sources for this section
- 83(Bukhari 5017)
- 84(Bukhari 6245)
- 85(Quran 49:12)
This guide teaches what scholars agree on and gives the main views where they differ. For your own situation, ask a scholar you trust or your local masjid.