Subletting a Room to a Non-Mahram: Seclusion (Khalwah), Modesty and Safe Alternatives
IMB Editorial Team · 21 November 2026 · about 7 min read
In many cities families rent out a room of their flat to someone else (a sublet), and many single workers and students live that way. The financial reason is real, but in Islamic terms a question arises: does the arrangement place a non-mahram man and woman in seclusion (khalwah) under one roof, one entrance, especially when the husband is out? Scholars agree on the core principle and discuss the details and remedies.
The core issue: seclusion and modesty, not renting itself
Renting is in principle a valid contract. The problem starts when the arrangement produces a situation in which a man and a non-mahram woman are alone together, or where modesty cannot be kept. So the fatwa question usually becomes: does this arrangement lead to seclusion? Setups that avoid it (a separate unit, separate door, tenants of one sex only) are judged differently from those that do not. A mufti must judge after hearing the exact details.
Guidance from the Quran and hadith
The Quran commands lowering the gaze and guarding chastity:
قُل لِّلْمُؤْمِنِينَ يَغُضُّوا۟ مِنْ أَبْصَـٰرِهِمْ وَيَحْفَظُوا۟ فُرُوجَهُمْ ۚ ذَٰلِكَ أَزْكَىٰ لَهُمْ
Meaning: Tell the believing men to lower their gaze and guard their private parts; that is purer for them. (Surah an-Nur 24:30)
The same is said to believing women (24:31). In Surah al-Ahzab, teaching manners for the Prophet's household, Allah says that if you ask his wives for something, ask from behind a screen: "that is purer for your hearts and theirs" (33:53). The verse came in the Prophet's special setting, but scholars draw a general lesson: inside a home, care and a screen between non-mahrams matter.
Sahih al-Bukhari 5233 (Ibn Abbas) has the Prophet (peace be upon him) say that no man should be alone with a woman unless a mahram is present. Jami at-Tirmidhi 2165 (sahih), from Umar, says that when a man is alone with a woman, the third of them is Satan. In Sahih al-Bukhari 5232 he warned against entering upon women alone; when a man of the Ansar asked about the husband's relatives (al-hamu), he said, "the in-law is death," pointing to the danger of close familiarity. So even seclusion with familiar people calls for care.
Seclusion in Hanafi fiqh
Hanafi works such as Radd al-Muhtar (Shami) and Fatawa Alamgiriyya generally treat seclusion with a non-mahram as prohibited and advise avoiding it. There are fine discussions on what counts as seclusion (an open or closed door, whether a third person is present and able to understand). We do not fix those fine conditions here; we state the general principle and send you to a mufti for the real situation. We did not read the book passages directly, so this section needs a mufti's review.
Is every sublet "completely haram"?
Some say the sublet system is "completely haram." We do not issue a blanket verdict. The validity of a lease is one question; whether a specific arrangement results in forbidden seclusion is another. Where the setting clearly leads to forbidden seclusion (for example a lone wife and a male tenant in the same flat), keeping away from it is the safer, sharia-minded course. Where it can surely be avoided (separate flats, a male family member present), the ruling may differ. So instead of "all sublets are haram", ask a mufti about your arrangement.
Practical protection
- Choose a separate unit. Separate entrance, kitchen and bathroom keep family life apart.
- Prefer tenants of the same sex where it fits the household, and consider safer arrangements.
- Avoid being alone together. Plan ahead so that when the husband is out, the wife and a non-mahram tenant are not alone in the flat.
- Write the rules down. Visiting hours, guests, use of shared space, in a clear written or spoken agreement.
- Look at alternatives. Messes, hostels, housing for working women or men, or staying with relatives.
- Teach the family. Tell children about boundaries and warning signs in an age-appropriate way.
- Get help if there is harassment. Keep evidence and contact local authorities or 999.
Lineage and family honour
Islam protects lineage (nasab) because seclusion can lead to unwanted relationships and confusion of identity. But not every tenant or household should be suspected. The teaching is caution, not accusation, and accusing someone without proof is itself serious. We could not verify claims such as "thousands of cases are happening", so no such number appears here.
Separate responsibilities: husband, wife and landlord
The husband. In Sahih al-Bukhari 893 (Ibn Umar) the Prophet (peace be upon him) said that each of you is a shepherd and answerable for those under his care, and that a man is a guardian of his family. This responsibility is not control; it is concern for the family's safety and honour. Thinking first of the wife's and children's safety when choosing a home is part of it. The wife's opinion and comfort also count; an arrangement that makes her uneasy should be avoided.
The wife. If she senses discomfort or risk, she should say so plainly, avoid being alone with a stranger at home, and call a relative or neighbour when needed. There is nothing to be shy about; this is good judgment.
The landlord or the one who sublets. Whoever lets space is partly responsible for others' safety. Checking the tenant's identity (national ID, workplace, previous address), keeping emergency contacts and stating house rules clearly are good practice. Protecting the tenant's own rights to a safe home and privacy is also a duty.
For single young people and working tenants
Those who live in sublets have things to think about too. For young people who come to a city to work or study there are safe, low-cost alternatives such as women's hostels, housing for working women, or well-known community messes. Before taking a place, learn about the household, neighbours and owner. If a place feels unsafe, leave without embarrassment and tell someone.
For those ready to marry, one point: the best way to avoid seclusion and unregulated closeness is lawful marriage. The Quran encourages marrying off the unmarried: "And marry the unmarried among you" (Surah an-Nur 24:32). So those living alone far away can talk to their families about marriage.
A simple checklist before you let a room
- Does the tenant have a separate entrance and lock?
- Will there be times when my wife or daughter is alone at home with the tenant?
- Are there shared spaces (kitchen, living room, bathroom), and how will they be used?
- Has the tenant's identity and background been checked?
- What happens when I am away for some days?
- Whom do I tell if there is a problem, and how do I end the tenancy?
If the answers are uncertain, think about changing the arrangement.
Common mistakes and misconceptions
- "We are religious, so we are safe." The hadith says Satan is the third; caution is part of piety.
- "There is only one door, so what is the harm?" One shared entrance makes modesty and privacy hard to keep; weigh it.
- "Everyone does it, so it is fine." Custom is not evidence of lawfulness.
- Treating every tenant as a wrongdoer. Be careful, but without suspicion or slander.
- Ignoring the money pressure. Rent pressure is real, so think of separate units, shared costs for a different home, or help from relatives.
When to ask a mufti
Describe your actual arrangement (rooms, doors, who lives there) to a mufti and ask whether it is acceptable and how to fix it. You can send a question through IMB's "Ask the Muftis" page (/ask-mufti). May Allah protect our families and society.
Frequently Asked Questions
What does the hadith say about seclusion with a non-mahram?
Sahih al-Bukhari 5233 says no man should be alone with a woman without a mahram; Tirmidhi 2165 (sahih) says the third of them is Satan.
Is subletting always haram?
We give no blanket verdict. A lease can be valid, but an arrangement that causes forbidden seclusion should be avoided. Describe your setup to a mufti.
What are the alternatives?
A separate unit, same-sex tenants, messes or hostels, living with relatives, and avoiding being alone when the husband is out.
Does caution apply to a husband's brothers too?
Sahih al-Bukhari 5232 calls the husband's relatives 'death', warning of the risk of close familiarity. Ask a mufti for details.
From the Blog
Have questions about Shariah-compliant marriage guidance?
Contact Us