Skip to content

Instantly share code, notes, and snippets.

@ahmedazhar05
Last active June 27, 2026 14:07
Show Gist options
  • Select an option

  • Save ahmedazhar05/52ba43b2b859c80e20dc06d1b9bc4ee9 to your computer and use it in GitHub Desktop.

Select an option

Save ahmedazhar05/52ba43b2b859c80e20dc06d1b9bc4ee9 to your computer and use it in GitHub Desktop.
Complete Mahram chart for Woman

Mahram Chart


Woman
├── Parents
│   ├── Mother (Biological Mother)
│   │   ├── Parents (Maternal Grandparents)
│   │   │   ├── Maternal Grandmother (Mother’s Mother)
│   │   │   └── Maternal Grandfather (Mother’s Father) ✅
│   │   │
│   │   └── Siblings (Mother’s Siblings / Maternal Aunts and Uncles)
│   │       ├── Maternal Aunt (Mother’s Sister)
│   │       │   └── Spouse: Uncle-in-law (Aunt’s Husband) ❌
│   │       └── Maternal Uncle (Mother’s Brother) ✅
│   │           └── Spouse: Aunt-in-law (Uncle’s Wife)
│   │
│   ├── Father (Biological Father)
│   │    ├── Parents (Paternal Grandparents)
│   │    │   ├── Paternal Grandmother (Father’s Mother)
│   │    │   └── Paternal Grandfather (Father’s Father) ✅
│   │    │
│   │    └── Siblings (Father’s Siblings / Paternal Aunts and Uncles)
│   │        ├── Paternal Aunt (Father’s Sister)
│   │        │   └── Spouse: Uncle-in-law (Aunt’s Husband) ❌
│   │        └── Paternal Uncle (Father’s Brother) ✅
│   │            └── Spouse: Aunt-in-law (Uncle’s Wife)
│   │
│   ├── Step-Parents
│   │   ├── Step-Mother (Father’s new Wife, not biological parent)
│   │   └── Step-Father (Mother’s new Husband, not biological parent) ❌
│   │
│   └── Foster Parents
│       ├── Foster Mother (Non-biological Female Guardian)
│       │   ├── Parents
│       │   │   ├── Foster Grandmother (Foster Mother’s Mother)
│       │   │   └── Foster Grandfather (Foster Mother’s Father) ✅
│       │   │
│       │   └── Siblings (Foster Mother’s Siblings)
│       │       ├── Foster Aunt (Foster Mother’s Sister)
│       │       └── Foster Uncle (Foster Mother’s Brother) ✅
│       │
│       └── Foster Father (Non-biological Male Guardian) ✅
│           ├── Parents
│           │   ├── Foster Grandmother (Foster Father’s Mother)
│           │   └── Foster Grandfather (Foster Father’s Father) ✅
│           │
│           └── Siblings (Foster Father’s Siblings)
│               ├── Foster Aunt (Foster Father’s Sister)
│               └── Foster Uncle (Foster Father’s Brother) ✅
│
├── Siblings
│   ├── Sister (Biological Sister)
│   │   ├── Spouse: Brother-in-law (Sister’s Husband) ❌
│   │   └── Children of Sister
│   │       ├── Niece (Sister’s Daughter)
│   │       │   └── Spouse (Niece’s Spouse) ❌
│   │       └── Nephew (Sister’s Son) ✅
│   │           └── Spouse (Nephew’s Spouse)
│   │
│   ├── Brother (Biological Brother)
│   │   ├── Spouse: Sister-in-law (Brother’s Wife)
│   │   └── Children of Brother
│   │       ├── Niece (Brother’s Daughter)
│   │       │   └── Spouse (Niece’s Spouse) ❌
│   │       └── Nephew (Brother’s Son) ✅
│   │           └── Spouse (Nephew’s Spouse)
│   │
│   ├── Step-Siblings (Children of Stepparent from a different Relationship)
│   │   ├── Step-Sister (Step-Parent’s Daughter)
│   │   └── Step-Brother (Step-Parent’s Son) ❌
│   │
│   ├── Half-Siblings (Sibling who shares exactly one biological parent)
│   │   ├── Maternal Half-Sister
│   │   ├── Maternal Half-Brother
│   │   ├── Paternal Half-Sister
│   │   └── Paternal Half-Brother
│   │
│   └── Foster Siblings (Non-biological Children Raised in Same Foster Home)
│       ├── Foster Sister
│       │   └── Children
│       │       ├── Foster Niece (Foster Sister's Daughter)
│       │       └── Foster Nephew (Foster Sister's Son) ✅
│       │
│       └── Foster Brother ✅
│           └── Children
│               ├── Foster Niece (Foster Brother's Daughter)
│               └── Foster Nephew (Foster Brother's Son) ✅
│
├── Cousins
│   ├── Maternal Side Cousins (Mother’s Side Extended Family)
│   │   ├── Maternal Female Cousin (Daughter of Mother’s Sibling)
│   │   └── Maternal Male Cousin (Son of Mother’s Sibling) ❌
│   │
│   └── Paternal Side Cousins (Father’s Side Extended Family)
│       ├── Paternal Female Cousin (Daughter of Father’s Sibling)
│       └── Paternal Male Cousin (Son of Father’s Sibling) ❌
│
├── Children
│   ├── Daughter (Female Child of Self)
│   │   └── Spouse: Son-in-law (Daughter’s Husband) ✅
│   │
│   ├── Son (Male Child of Self)
│   │   └── Spouse: Daughter-in-law (Son’s Wife)
│   │
│   ├── Step-Children (Husband’s Children from Previous Relationship)
│   │   ├── Step-Daughter (Husband’s Daughter)
│   │   │   └── Spouse (Step-Daughter’s Spouse) ❌
│   │   └── Step-Son (Husband’s Son) ✅
│   │       └── Spouse (Step-Son’s Spouse)
│   │
│   └── Foster Children (Non-biological Children under Care)
│       ├── Foster Daughter
│       │   ├── Spouse (Foster Daughter's Spouse) ❌
│       │   └── Children
│       │       ├── Foster Granddaughter (Foster Daughter’s Daughter)
│       │       └── Foster Grandson (Foster Daughter’s Son) ✅
│       └── Foster Son ✅
│           ├── Spouse (Foster Son's Spouse)
│           └── Children
│               ├── Foster Granddaughter (Foster Son’s Daughter)
│               └── Foster Grandson (Foster Son’s Son) ✅
│
└── Spouse (Husband)
    ├── Parents-in-law (Husband’s Parents)
    │   ├── Mother-in-law (Husband’s Mother)
    │   └── Father-in-law (Husband’s Father) ✅
    │
    ├── Grandparents-in-law (Husband’s Grandparents)
    │   ├── Maternal Grandmother-in-law (Husband’s Mother’s Mother)
    │   ├── Maternal Grandfather-in-law (Husband’s Mother’s Father) ✅
    │   ├── Paternal Grandmother-in-law (Husband’s Father’s Mother)
    │   └── Paternal Grandfather-in-law (Husband’s Father’s Father) ✅
    │
    ├── Siblings-in-law (Husband’s Siblings)
    │   ├── Sister-in-law (Husband’s Sister)
    │   └── Brother-in-law (Husband’s Brother) ❌
    │
    └── Extended Kin by Marriage
        ├── Aunt-in-law (Husband’s Aunt)
        │   └── Spouse: Uncle-in-law (Husband’s Aunt’s Husband) ❌
        └── Uncle-in-law (Husband’s Uncle) ❌
            └── Spouse: Aunt-in-law (Husband’s Uncle’s Wife)
PlantUML Mindmap Code
@startmindmap
<style>
mindmapDiagram {
  .male {
    BackgroundColor lightblue
  }
  .female {
    BackgroundColor pink
  }
  node {
    BackgroundColor white
  }
}
</style>

+ **Woman**

++ **Parents**

+++ **Mother**\n (Biological Mother) <:eight_spoked_asterisk:> <<female>>
++++ **Parents**\n (Maternal Grandparents)
+++++ **Maternal Grandmother**\n (Mother's Mother) <:eight_spoked_asterisk:> <<female>>
+++++ **Maternal Grandfather**\n (Mother's Father) <:white_check_mark:> <<male>>

++++ **Siblings**\n (Mother's Siblings / Maternal Aunts and Uncles)
+++++ **Maternal Aunt**\n (Mother's Sister) <:eight_spoked_asterisk:> <<female>>
++++++ **Spouse: Uncle-in-law**\n (Aunt's Husband) <:x:> <<male>>
+++++ **Maternal Uncle**\n (Mother's Brother) <:white_check_mark:> <<male>>
++++++ **Spouse: Aunt-in-law**\n (Uncle's Wife) <:eight_spoked_asterisk:> <<female>>

+++ **Father**\n (Biological Father) <:white_check_mark:> <<male>>
++++ **Parents**\n (Paternal Grandparents)
+++++ **Paternal Grandmother**\n (Father's Mother) <:eight_spoked_asterisk:> <<female>>
+++++ **Paternal Grandfather**\n (Father's Father) <:white_check_mark:> <<male>>

++++ **Siblings**\n (Father's Siblings / Paternal Aunts and Uncles)
+++++ **Paternal Aunt**\n (Father's Sister) <:eight_spoked_asterisk:> <<female>>
++++++ **Spouse: Uncle-in-law**\n (Aunt's Husband) <:x:> <<male>>
+++++ **Paternal Uncle**\n (Father's Brother) <:white_check_mark:> <<male>>
++++++ **Spouse: Aunt-in-law**\n (Uncle's Wife) <:eight_spoked_asterisk:> <<female>>

+++ **Step-Parents**
++++ **Step-Mother**\n (Father's new Wife, not biological parent) <:eight_spoked_asterisk:> <<female>>
++++ **Step-Father**\n (Mother's new Husband, not biological parent) <:x:> <<male>>

+++ **Foster Parents**

++++ **Foster Mother**\n (Non-biological Female Guardian) <:eight_spoked_asterisk:> <<female>>
+++++ **Parents**
++++++ **Foster Grandmother**\n (Foster Mother's Mother) <:eight_spoked_asterisk:> <<female>>
++++++ **Foster Grandfather**\n (Foster Mother's Father) <:white_check_mark:> <<male>>

+++++ **Siblings**\n (Foster Mother's Siblings)
++++++ **Foster Aunt**\n (Foster Mother's Sister) <:eight_spoked_asterisk:> <<female>>
++++++ **Foster Uncle**\n (Foster Mother's Brother) <:white_check_mark:> <<male>>

++++ **Foster Father**\n (Non-biological Male Guardian) <:white_check_mark:> <<male>>
+++++ **Parents**
++++++ **Foster Grandmother**\n (Foster Father's Mother) <:eight_spoked_asterisk:> <<female>>
++++++ **Foster Grandfather**\n (Foster Father's Father) <:white_check_mark:> <<male>>

+++++ **Siblings**\n (Foster Father's Siblings)
++++++ **Foster Aunt**\n (Foster Father's Sister) <:eight_spoked_asterisk:> <<female>>
++++++ **Foster Uncle**\n (Foster Father's Brother) <:white_check_mark:> <<male>>

-- **Siblings**

--- **Sister**\n (Biological Sister) <:eight_spoked_asterisk:> <<female>>
---- **Spouse: Brother-in-law**\n (Sister's Husband) <:x:> <<male>>
---- **Children of Sister**
----- **Niece**\n (Sister's Daughter) <:eight_spoked_asterisk:> <<female>>
------ **Spouse**\n (Niece's Spouse) <:x:> <<male>>
----- **Nephew**\n (Sister's Son) <:white_check_mark:> <<male>>
------ **Spouse**\n (Nephew's Spouse) <:eight_spoked_asterisk:> <<female>>

--- **Brother**\n (Biological Brother) <:white_check_mark:> <<male>>
---- **Spouse: Sister-in-law**\n (Brother's Wife) <:eight_spoked_asterisk:> <<female>>
---- **Children of Brother**
----- **Niece**\n (Brother's Daughter) <:eight_spoked_asterisk:> <<female>>
------ **Spouse**\n (Niece's Spouse) <:x:> <<male>>
----- **Nephew**\n (Brother's Son) <:white_check_mark:> <<male>>
------ **Spouse**\n (Nephew's Spouse) <:eight_spoked_asterisk:> <<female>>

--- **Step-Siblings**\n (Children of Stepparent from a different Relationship)
---- **Step-Sister**\n (Step-Parent's Daughter) <:eight_spoked_asterisk:> <<female>>
---- **Step-Brother**\n (Step-Parent's Son) <:x:> <<male>>

--- **Half-Siblings**\n (Sibling who shares exactly one biological parent)
---- **Maternal Half-Sister** <:eight_spoked_asterisk:> <<female>>
---- **Maternal Half-Brother** <:white_check_mark:> <<male>>
---- **Paternal Half-Sister** <:eight_spoked_asterisk:> <<female>>
---- **Paternal Half-Brother** <:white_check_mark:> <<male>>

--- **Foster Siblings**
---- **Foster Sister** <:eight_spoked_asterisk:> <<female>>
----- **Children**
------ **Foster Niece**\n (Foster Sister's Daughter) <:eight_spoked_asterisk:> <<female>>
------ **Foster Nephew**\n (Foster Sister's Son) <:white_check_mark:> <<male>>

---- **Foster Brother** <:white_check_mark:> <<male>>
----- **Children**
------ **Foster Niece**\n (Foster Brother's Daughter) <:eight_spoked_asterisk:> <<female>>
------ **Foster Nephew**\n (Foster Brother's Son) <:white_check_mark:> <<male>>

++ **Cousins**

+++ **Maternal Side Cousins**\n (Mother's Side Extended Family)
++++ **Maternal Female Cousin**\n (Daughter of Mother's Sibling) <:eight_spoked_asterisk:> <<female>>
++++ **Maternal Male Cousin**\n (Son of Mother's Sibling) <:x:> <<male>>

+++ **Paternal Side Cousins**\n (Father's Side Extended Family)
++++ **Paternal Female Cousin**\n (Daughter of Father's Sibling) <:eight_spoked_asterisk:> <<female>>
++++ **Paternal Male Cousin**\n (Son of Father's Sibling) <:x:> <<male>>

++ **Children**

+++ **Daughter**\n (Female Child of Self) <:eight_spoked_asterisk:> <<female>>
++++ **Spouse: Son-in-law**\n (Daughter's Husband) <:white_check_mark:> <<male>>

+++ **Son**\n (Male Child of Self) <:white_check_mark:> <<male>>
++++ **Spouse: Daughter-in-law**\n (Son's Wife) <:eight_spoked_asterisk:> <<female>>

+++ **Step-Children**\n (Husband's Children from Previous Relationship)
++++ **Step-Daughter**\n (Husband's Daughter) <:eight_spoked_asterisk:> <<female>>
+++++ **Spouse**\n (Step-Daughter's Spouse) <:x:> <<male>>
++++ **Step-Son**\n (Husband's Son) <:white_check_mark:> <<male>>
+++++ **Spouse**\n (Step-Son's Spouse) <:eight_spoked_asterisk:> <<female>>

--- **Foster Children**

---- **Foster Daughter** <:eight_spoked_asterisk:> <<female>>
----- **Spouse**\n (Foster Daughter's Spouse) <:x:> <<male>>
----- **Children**
------ **Foster Granddaughter**\n (Foster Daughter's Daughter) <:eight_spoked_asterisk:> <<female>>
------ **Foster Grandson**\n (Foster Daughter's Son) <:white_check_mark:> <<male>>

---- **Foster Son** <:white_check_mark:> <<male>>
----- **Spouse**\n (Foster Son's Spouse) <:eight_spoked_asterisk:> <<female>>
----- **Children**
------ **Foster Granddaughter**\n (Foster Son's Daughter) <:eight_spoked_asterisk:> <<female>>
------ **Foster Grandson**\n (Foster Son's Son) <:white_check_mark:> <<male>>

-- **Spouse**\n (Husband) <:white_check_mark:> <<male>>

--- **Parents-in-law**\n (Husband's Parents)
---- **Mother-in-law**\n (Husband's Mother) <:eight_spoked_asterisk:> <<female>>
---- **Father-in-law**\n (Husband's Father) <:white_check_mark:> <<male>>

--- **Grandparents-in-law**\n (Husband's Grandparents)
---- **Maternal Grandmother-in-law**\n (Husband's Mother's Mother) <:eight_spoked_asterisk:> <<female>>
---- **Maternal Grandfather-in-law**\n (Husband's Mother's Father) <:white_check_mark:> <<male>>
---- **Paternal Grandmother-in-law**\n (Husband's Father's Mother) <:eight_spoked_asterisk:> <<female>>
---- **Paternal Grandfather-in-law**\n (Husband's Father's Father) <:white_check_mark:> <<male>>

--- **Siblings-in-law**\n (Husband's Siblings)
---- **Sister-in-law**\n (Husband's Sister) <:eight_spoked_asterisk:> <<female>>
---- **Brother-in-law**\n (Husband's Brother) <:x:> <<male>>

--- **Extended Kin by Marriage**
---- **Aunt-in-law**\n (Husband's Aunt) <:eight_spoked_asterisk:> <<female>>
----- **Spouse: Uncle-in-law**\n (Husband's Aunt's Husband) <:x:> <<male>>

---- **Uncle-in-law**\n (Husband's Uncle) <:x:> <<male>>
----- **Spouse: Aunt-in-law**\n (Husband's Uncle's Wife) <:eight_spoked_asterisk:> <<female>>

@endmindmap

According to the Qur'an, the authentic Sunnah, and the understanding of mainstream Salafi scholars (such as Muhammad ibn Salih al-Uthaymeen, Abd al-Aziz ibn Baz, and the scholars behind IslamQA), a mahram is:

A man whom a woman is permanently forbidden to marry because of blood relationship, breastfeeding (rada'ah), or marriage (musaharah). (Islam-QA)

This definition excludes men whom she is only temporarily forbidden to marry (such as her sister's husband or a married man), because they could become lawful to marry in the future.

1. Mahrams by blood (nasab)

These are permanent mahrams.

The primary evidence is:

"And let them not display their adornment except to their husbands, their fathers, their husbands' fathers, their sons, their husbands' sons, their brothers, their brothers' sons, their sisters' sons..."

— Qur'an 24:31

Additional permanent marriage prohibitions are listed in:

Qur'an 4:23

From these texts, Salafi scholars list the following:

  • Father
  • Grandfather (father's father, mother's father, and all ascendants)
  • Son
  • Grandson (through sons or daughters)
  • Full brother
  • Paternal half-brother
  • Maternal half-brother
  • Paternal uncle (father's brother)
  • Maternal uncle (mother's brother)
  • Brother's son (nephew)
  • Sister's son (nephew)

These are unanimously regarded as mahrams. (Islam-QA)


2. Mahrams through breastfeeding (rada'ah)

The Prophet ﷺ said:

"What becomes unlawful through breastfeeding is the same as what becomes unlawful through blood relationship."

Authentically reported in:

  • Sahih al-Bukhari
  • Sahih Muslim (Islam-QA)

Therefore, if valid breastfeeding establishes kinship, the same categories become mahrams, for example:

  • Foster father
  • Foster grandfather
  • Foster brother
  • Foster uncle
  • Foster nephew
  • Foster son

provided the conditions of valid rada'ah are fulfilled according to Islamic law. (Islam-QA)


3. Mahrams through marriage (musaharah)

These are also permanent.

Evidence:

Qur'an 4:23

includes:

  • Wives' mothers
  • Stepdaughters (after consummation of the marriage with their mother)
  • Wives of one's sons

For a woman, this means her mahrams include:

  • Husband's father (father-in-law)
  • Husband's grandfather
  • Husband's son (stepson)
  • Husband's grandson

These become permanent mahrams through a valid marriage. (Islam-QA)


Non-mahrams

A non-mahram is any man whom she could lawfully marry, either immediately or if circumstances change in the future.

Examples include:

  • Male cousin (father's brother's son)
  • Male cousin (father's sister's son)
  • Male cousin (mother's brother's son)
  • Male cousin (mother's sister's son)
  • Brother-in-law (husband's brother)
  • Sister's husband
  • Husband's uncle
  • Husband's cousin
  • Friend of the family
  • Neighbor
  • Work colleague
  • Teacher
  • Student
  • Classmate
  • Fiancé (until the nikah is completed)
  • Adopted son (unless breastfeeding established mahram status)
  • Adoptive father (unless breastfeeding established mahram status)

These men are non-mahram because marriage with them is legally possible under Islamic law. (Islam-QA)


Common misconceptions

According to Salafi scholarship:

❌ A cousin is not a mahram.

This includes all first cousins (maternal and paternal). (Islam-QA)


❌ A brother-in-law is not a mahram.

The Prophet ﷺ said:

"The in-law is death."

This authentic hadith warns particularly about laxity with a husband's male relatives who are not mahrams, such as his brother. It is recorded in Sahih al-Bukhari and Sahih Muslim.


❌ A fiancé is not a mahram.

Engagement does not create mahram status. Only the nikah (marriage contract) does. (Islam-QA)


❌ An adopted son is not automatically a mahram.

Adoption alone does not establish mahram status. Breastfeeding (where applicable and meeting the legal conditions) is what creates foster kinship. (Islam-QA)


Summary table

Mahram Reason
Father Blood
Grandfathers Blood
Son Blood
Grandsons Blood
Brothers Blood
Paternal uncle Blood
Maternal uncle Blood
Brother's sons Blood
Sister's sons Blood
Foster father Breastfeeding
Foster brother Breastfeeding
Foster uncle Breastfeeding
Husband's father Marriage
Husband's grandfather Marriage
Husband's son (stepson) Marriage
Husband's grandson Marriage

Non-mahram examples

  • All cousins
  • Brother-in-law
  • Sister's husband
  • Husband's cousin
  • Husband's uncle
  • Family friends
  • Neighbors
  • Colleagues
  • Fiancé
  • Adopted son (without foster kinship)
  • Any unrelated adult male

This classification is the standard presentation found in Salafi references such as IslamQA's "Who Is a Woman's Mahram?" and is based primarily on Qur'an 4:23, Qur'an 24:31, and the authentic hadith, "What becomes unlawful through breastfeeding is the same as what becomes unlawful through blood relationship." (Islam-QA)

A useful rule of thumb

For a woman, marriage (muṣāharah) creates permanent male mahrams only in a limited set of relationships, such as:

  • ✅ Husband
  • ✅ Father-in-law (and his male ascendants)
  • ✅ Husband's son (stepson, after a valid consummated marriage)
  • ✅ Husband's grandsons
  • ✅ Son-in-law (daughter's husband)

It does not automatically extend to more distant relatives by marriage, such as:

  • ❌ Brother-in-law
  • ❌ Husband's uncle
  • ❌ Husband's nephew
  • ❌ Husband's cousin
  • ❌ Aunt's husband
  • ❌ Niece's husband (brother's or sister's daughter's husband)
  • ❌ Cousin's husband

Those men remain non-mahrams, unless a separate cause of mahram status (such as valid rada'ah) exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment