Knock Before Entering: Privacy and Separate Beds in a Muslim Home
The Qur'an's three times of privacy, separating beds at ten, bathroom and bedroom boundaries, and how to teach them naturally.
In this guide
“Knock first!” is something every parent says, usually after a child has burst in at the wrong moment. But in Islam, knocking and asking permission isn’t just good manners. The Qur’an teaches it directly, with specific times, and it’s a quiet foundation for modesty, body safety and respect in the home.
The Qur’an’s guidance
Surah An-Nur gives detailed guidance on privacy at home, including for children.
Evidence · Qur’an
يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ لِيَسْتَـْٔذِنكُمُ ٱلَّذِينَ مَلَكَتْ أَيْمَٰنُكُمْ وَٱلَّذِينَ لَمْ يَبْلُغُوا۟ ٱلْحُلُمَ مِنكُمْ ثَلَٰثَ مَرَّٰتٍۢ ۚ مِّن قَبْلِ صَلَوٰةِ ٱلْفَجْرِ وَحِينَ تَضَعُونَ ثِيَابَكُم مِّنَ ٱلظَّهِيرَةِ وَمِنۢ بَعْدِ صَلَوٰةِ ٱلْعِشَآءِ ۚ ثَلَٰثُ عَوْرَٰتٍۢ لَّكُمْ
“O you who have believed, let those whom your right hands possess and those who have not [yet] reached puberty among you ask permission of you [before entering] at three times: before the dawn prayer and when you put aside your clothing [for rest] at noon and after the night prayer. [These are] three times of privacy for you.”
These are the times when parents are most likely to be resting, sleeping or changing. Even young children are taught to knock then. The rest of the verse notes that outside these times, there’s no blame, because family members are constantly coming and going.
Once children reach puberty, the rule widens:
Evidence · Qur’an
وَإِذَا بَلَغَ ٱلْأَطْفَٰلُ مِنكُمُ ٱلْحُلُمَ فَلْيَسْتَـْٔذِنُوا۟ كَمَا ٱسْتَـْٔذَنَ ٱلَّذِينَ مِن قَبْلِهِمْ
“And when the children among you reach puberty, let them ask permission [at all times] as those before them have done.”
So the Qur’an itself builds privacy up gradually, in step with a child’s age. That’s a model for how we teach it.
The Prophet ﷺ explained the reason behind asking permission in one line, after a man peeped into his house through a hole:
Evidence · Hadith
“The order of taking permission to enter has been enjoined because of that sight.” Narrated by Sahl ibn Saʿd (RA).
Asking permission protects people’s privacy from being seen. That’s a lesson children can understand.
Separate beds at ten
The well-known hadith about teaching salah at seven continues with guidance at ten:
Evidence · Hadith
“Command your children to pray when they are seven years old… and separate them in their beds.” Narrated by ʿAbdullah ibn ʿAmr (RA).
Scholars generally understand this as each child having their own bed or bedding by around ten, not necessarily their own room. The Prophet ﷺ also said that two men, or two women, should not lie under one covering (Sahih Muslim 338a).
In a small home, that might look like:
- Separate beds, mattresses or sleeping bags in a shared room.
- Bunk beds.
- Separate blankets, even on a shared floor mattress.
- Rearranging rooms so older children of different sexes don’t share, where possible.
How this applies to siblings of the same or different sex, to cousins at sleepovers, and to very small homes varies. Details differ between madhhabs, so ask a scholar you trust about your family’s situation.
Frame it as growing up, not as a rule:
“You’re getting so grown up! Grown-ups each have their own bed. Let’s plan your own sleeping space together. What would you like it to look like?”
Let them choose bedding, a reading light, a shelf. It becomes something to look forward to.
Knocking and permission
Teach knocking as a family habit, for all ages:
- Model it. Knock on your children’s doors, even little ones. “Can I come in?” Wait for an answer.
- Teach the steps. Knock, say salaam or “Can I come in?”, and wait.
- Accept “not now.” If there’s no answer, or they’re told to wait, they wait or come back later. The Qur’an teaches this about other people’s homes too (24:28): if you’re told to go back, go back.
- Practise it as a game with younger children: take turns knocking on the bathroom door and answering.
- Praise it. “You knocked and waited, MashaAllah. That was really respectful.”
Bathroom and changing
- Close the door for toilet and bath times, from preschool age. “We close the door because our bodies are private.”
- Changing: from around seven, children start dressing on their own or with the door closed. Parents still help as needed, especially with younger children and children with additional needs.
- Bath time with siblings becomes separate as children get older.
- Cover the ʿawrah around the house as children grow: no wandering around undressed after a bath, kindly reminded.
This links directly with body safety. Child-protection organisations like the NSPCC teach that private parts are private and that children have a right to say no. A child who has privacy at home learns that their body belongs to them. (See body safety for Muslim kids.)
Respecting kids’ privacy too
Privacy goes both ways. If we want children to knock, we knock too.
- Knock on their doors, especially from around ten.
- Don’t barge into the bathroom, unless it’s needed for safety or help.
- Don’t discuss their bodies or changes in front of siblings or relatives.
- Give older children some personal space: a drawer, a box, a corner that’s theirs.
Respecting privacy doesn’t mean ignoring safety. Parents still need to know what’s happening online and who their children spend time with. But a child who feels respected at home is more likely to talk openly.
Related guides
Questions parents ask
What are the three times of privacy in the Qur'an?
Surah An-Nur 24:58 names them: before the dawn prayer, when you lay aside your clothes at midday, and after the night prayer. Young children are taught to ask permission before entering their parents' room at these times. Once children reach puberty, they ask permission at all times (24:59).
Do siblings have to sleep separately at ten?
The hadith on teaching prayer at seven also says to separate children in their beds at ten. Scholars generally understand this as each child having their own bed or bedding, not necessarily their own room. How this applies to siblings of the same or different sex, and in small homes, varies; ask a scholar you trust.
How do I teach my child to knock?
Model it first by knocking on their door. Then practise: knock, say salaam or 'Can I come in?', and wait for an answer. If there's no answer, or the answer is 'not now', go back. Praise them when they remember, and gently remind them when they forget.
Sources
Written by the Rahmly team from the sources above. Our Reviewers’ sign-off for this guide is still in progress. For rulings about your own family, ask a scholar you trust.