Who is a mahram, and what is his role when looking for a spouse

Who counts as a mahram for a woman, how a mahram differs from a wali, and how family can stay involved while she gets to know a potential spouse.

Updated · 5 min read

The word mahram comes up in every conversation about hijab, travel and marriage, and yet it is often confused with wali, with family in general, or with "someone from home". When you are looking for a spouse, the difference matters: a mahram is the person who can be present while two people get to know each other, and his presence is what keeps that getting-to-know within its limits.

Who is a mahram

A mahram is a man whom a woman can never marry. Not "for now", not "while she is married", but never. The basis is in the Qur'an: the verse listing whom marriage is forbidden with (An-Nisa, 4:23), and the verse naming before whom a woman need not cover her adornment (An-Nur, 24:31).

That permanent prohibition comes from three sources.

By blood:

  • father, grandfather and upwards
  • son, grandson and downwards
  • brother, whether full, paternal or maternal
  • paternal and maternal uncles
  • nephews: her brother's son and her sister's son

By marriage:

  • her husband's father
  • her husband's son from another marriage
  • her daughter's husband
  • her mother's husband, if his marriage to her mother was consummated

By breastfeeding: a man nursed by the same woman in infancy becomes a mahram just as a blood relative would. The Prophet, peace be upon him, said that breastfeeding makes unlawful what blood kinship makes unlawful (Bukhari, Muslim).

Who is not a mahram

This is where most of the confusion lies, because these are people who are close and whom we have known all our lives:

  • cousins, on either side
  • her husband's brother and his other relatives
  • her sister's husband
  • a fiancé, right up until the nikah
  • a family friend, a neighbour, the imam

About the husband's brother the Prophet gave a pointed warning — "the in-law is death" (Bukhari, Muslim) — precisely because he is close, comes into the home, and nobody thinks to be careful.

A mahram is not the same as a wali

The wali represents the woman when the marriage contract is made. Usually it is her father; if he is absent, her grandfather, son, brother and so on. A wali is almost always also a mahram, but the roles differ:

  • the mahram is there so that meeting before marriage does not become seclusion
  • the wali is there when the marriage is contracted: he consents and looks out for her interests

In the Hanafi school, an adult woman of sound mind may contract her own marriage, and a wali is not a condition of validity, although his involvement is still recommended and almost always the practice. The Shafi'i, Maliki and Hanbali schools require a wali, based on the hadith "there is no marriage without a wali" (Abu Dawud, Tirmidhi).

Why a mahram matters when getting to know someone

Islam does not forbid two people from getting to know each other before marriage. The Prophet advised a man who wanted to propose:

Look at her, for that is more likely to bring love between you.

Tirmidhi, An-Nasa'i

What is forbidden is seclusion (khalwa) between a man and a woman who are not mahram to each other:

None of you should be alone with a woman unless a mahram of hers is with her.

Bukhari, Muslim

So a mahram is the solution, not the obstacle. When he is there, the two can talk openly about everything that matters, without suspicion and without hiding anything. For her it is safety. For her family it is peace of mind. And for a man who is serious, it is a clear sign that she and her family are serious too.

A mahram when the conversation is on a phone

Much of getting to know someone today happens not in a living room but in messages. Many contemporary scholars compare private messaging between two non-mahram people, with no need and nobody's knowledge, to seclusion: there is no room, but there is no witness either. So the question becomes how a mahram can be "in the room" when there is no room.

The simplest answer is that someone from her family can see the messages. Some families do this by reading over her shoulder, which quickly becomes awkward for everyone. It works better when it is part of how the conversation happens in the first place.

In Niyyah it works like this:

  1. She turns on "Require a mahram" in settings.
  2. She invites up to three people: her father, brother, paternal or maternal uncle, guardian, or another mahram. The invitation arrives by email, and the mahram accepts it in the app.
  3. In the Mahram portal the mahram sees her conversations and matches. He only reads: he cannot write from the portal and does not use the app to meet anyone.

One mahram can look out for more than one person, for example a father for two daughters. The feature is available on women's profiles and is free. The app also allows a guardian, because not every sister has a father or brother beside her; where a guardian is not a mahram in the fiqh sense, his role is the same — that the conversation is not hidden. More on the mahram section of the Niyyah page.

In short

  • A mahram is a man a woman can never marry: by blood, by marriage or by breastfeeding.
  • Cousins, the husband's brother and a fiancé are not mahram.
  • The wali represents her in the marriage contract; the mahram keeps the limits while they get to know each other.
  • Getting to know someone for marriage is allowed; seclusion is not. The mahram is what separates the two.

If you are asking the wider question — whether it is right to look for a spouse through an app at all — read Is it halal to look for a spouse through an app?

We do not issue fatwas. This text cites its sources and what is known among scholars; for your own situation, ask an imam you trust.

Begin with intention.

Leave your email and we will let you know as soon as Niyyah launches. Then create your profile and meet people who seriously want to build something real.

We use your address only to tell you when Niyyah launches and to have a welcome gift waiting for you. We don’t sell it or give it to anyone for ads.

Get it onApp StoreGet it onGoogle Play