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. They are not rules to be afraid of. Missing one is not a sin.
- Before sleep: make wudu, dust off your bed, lie on your right side, and say some of the bedtime duas. These include 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, ask Allah to protect you, 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 go into someone's home or room, and respect privacy.
- Nabi ﷺ helped with the work at home. He was gentle with his family, and he prayed his extra prayers at home. Fill your home with Quran, salah and kindness.
Why does the home matter?
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 in charge of his family and will be asked about them, and a woman is in charge 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. Most of what follows are sunnahs: small habits of Nabi ﷺ that bring reward, blessing and protection.
- A sunnah is a gift, not a test. If you do it, you get reward. If you forget it, it is not a sin.
- Only a few things in this chapter are a must, like asking permission before you go into 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)
What do you do before you lie down?
Allah calls sleep one of His signs4. He also says that in sleep, He takes the soul for a while. Then He 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 ﷺ did not like sleeping before Isha, or 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 the way you do for salah7. If you go to sleep without it, that is fine. It is a sunnah, not a must.
- Dust off your bed. Shake it out with a cloth or the edge of your clothes, because you do not know what got 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: Allah does not love this way of lying down10. So scholars say lying face down is makruh (better to avoid), but not haram. If a doctor tells you to sleep a certain way, or you are in 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 do you 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. Pick 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 to say | 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, and recited the three surahs. Then he 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 | It means: in Your name, O Allah, I die and I live17. |
| The dua of handing yourself over to Allah (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 make useful for you. When you go to bed, recite Ayat al-Kursi from start 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 big 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. So she 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 (remembering Allah) gives strength. Many scholars say this dhikr helps a tired person get through the next day's work.
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)
What do you do after a good or bad dream?
Nabi ﷺ said there are three kinds of dreams. A good dream is good news from Allah. A sad or scary dream is from shaytan. And some dreams come from your own mind, about 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 say this is a very light spit, mostly air29.
- Ask Allah to protect you from shaytan and from the harm of the dream, three times. Say: A'udhu billahi minash-shaytanir-rajim30.
- Turn over onto 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)
What do you do when you wake up?
When Nabi ﷺ woke up, he said: Alhamdu lillahil-ladhi ahyana ba'da ma amatana wa ilayhin-nushur. It means: 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 siwak (a tooth stick)35.
- Untie the three knots. Nabi ﷺ said shaytan ties three knots on a sleeping person and whispers: 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. Then 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 about a habit, not one accident. If you slept through Fajr by mistake, pray it as soon as you wake up, and do not feel guilty. See Why salah, who must pray, and the times.
Waking up 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)
What do you say when you leave and come home?
Leaving the house
Nabi ﷺ said: when you leave home, say 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). Then it is said to you: you are guided, you are looked after, and you are protected. And shaytan moves away from you3839.
As he left home, Nabi ﷺ also asked Allah 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 go into houses, greet each other with a greeting from Allah, blessed and good42. Scholars say: even 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 say it is good to go in with your 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)
How do you keep 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, during the first dark part of the night. After that, they can go out4950.
What this means today
Scholars explain that the fire rule is about danger. So it covers today's risks too: 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. 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)
How do you ask permission before you go in?
This part is a must, not only a sunnah. Allah says: do not go into 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 better and more decent for you51.
How to ask
- Knock or ring up to three times. If no one answers, leave. Nabi ﷺ said: if you ask permission three times and you are not let in, 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 right in front of the open door. Nabi ﷺ stood to the right or left of a door, not in front of it, and said salam54.
- Do not look inside. 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 private times: before Fajr, at midday when people change to 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) from everyone except 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)
What about 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. Keeping an eye on what a child does online is part of caring for them62. As children grow, give them more trust and more privacy.
- What happens at home stays at home. Nabi ﷺ warned strongly against a man who is close with his wife and then tells other people 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, talking 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)
Why use a siwak?
The siwak (also called miswak) is a small stick, usually from the arak tree. You use it to clean your 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, but not a must.
- He used it when he woke up at night66, and as soon as he came home67.
Scholars say the best times to use it are at wudu and salah, when you wake up, when you come home, and any time your mouth smells.
What about a toothbrush?
- Many scholars say a toothbrush and toothpaste give you the sunnah, because the goal is a clean mouth.
- Others say you get the full sunnah only with a real stick like the arak siwak. A toothbrush gives you part of the reward.
Real scholars hold both views. 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)
How was Nabi ﷺ at home?
Aisha was asked what Nabi ﷺ did at home. She said: he was busy helping his family, and when it was time to pray, he went out to pray68.
- Helping at home is sunnah. Cooking, cleaning, washing dishes, changing diapers: a man who does these is following Nabi ﷺ. He is not losing his dignity. Other reports say Nabi ﷺ fixed 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 I 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 sadaqah (charity)74. Even the bite of food you put in your wife's mouth gets reward75.
Allah made husbands and wives so that you find peace in each other. He 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)
How do you keep a home alive?
Nabi ﷺ said: do not turn 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 turn them into graves79. The best prayer a person prays is at home, except the fard (must-do) 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 one page a day, and other surahs you love. Playing a recitation is also a good way to fill the home with Quran. Our Quran page has recitations 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 husbands, wives and 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 (authentic) 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 signs. 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 better to avoid.
- Forgetting the bedtime duas. It is not a sin. You just missed a reward. Say them tomorrow.
- A husband doing housework. It is not shameful at all. It is the sunnah of Nabi ﷺ82.
What about pictures and dogs in the home? Scholars talk about 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 it happens a lot. 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 your child to say A'udhu billah and turn over. At bedtime, recite the three Quls over them 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, and do not be 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. Real scholars hold both views, 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 also make dua in your own language. 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.