Saifullah Ahad

All one hundred eight build stories

QohumLive on Google Play

Saifullah Ahad / Build Story

Who is my mahram, and how families check birth, marriage, and milk ties

Working out who is my mahram in a family starts by tracing real birth, marriage, and infant nursing ties rather than guessing from everyday relation labels.

  • Birth ties
  • Marriage ties
  • Milk ties

Who is my mahram in Islam across birth, marriage, and milk

A mahram is a relative between whom marriage is permanently prohibited under Islamic family rules. Because that prohibition never ends, everyday hijab and seclusion rules change around that person. Understanding who is my mahram in Islam means looking at three distinct routes rather than relying on informal labels such as cousin, in-law, or adopted child.

In Al-Kafi 1672 on mahram status through nursing, published by the Office of the Mufti of the Federal Territory in Malaysia (March 21, 2020), the guidance explains how scholars classify permanent mahram ties and what that means in daily family life: "The original reasons which cause a woman to become mahram to another are two things. Firstly, it is the nasab (lineage) and the second one is asbab (reasons) which are through marriage or nursing." It summarizes the result plainly: "So, the implications of mahram are haram (prohibited) to be married to and it is halal to have physical contact with each other."

  • Lineage (birth)Parents and grandparents upward, children and grandchildren downward, full or half siblings, aunts and uncles on either side, and nieces or nephews.
  • Marriage (in-laws)Spouse's parents and grandparents, parents' and grandparents' spouses, children's spouses (all by the marriage contract), and stepchildren after consummation.
  • Nursing (milk kinship)When qualifying infant nursing takes place, the nursed child and their own descendants enter milk kinship with the nursing woman and the milk father's line.

Infant nursing is where family memories fade most easily. As Al-Kafi 1672 states, "As we explained above, nursing makes one a mahram the same way nasab (lineage) makes one a mahram." Quoting Sahih Muslim, the same guidance notes that a child becomes mahram "for he is Mahram (one with whom marriage cannot be contracted) on account of fosterage as one is Mahram on account of consanguinity." At the same time, raising an orphan or taken-in child without qualifying infant nursing creates no mahram tie by itself.

Who is my mahram as a woman by birth and by marriage

Questions about who is my mahram as a woman arise most often around extended household visits, travel, and marriage proposals between relatives. Al-Kafi 1672 notes that permanent mahrams follow Quran 4:23 and lists a woman's mahrams across lineage, nursing, and in-laws: biological father and grandfathers, biological son and grandsons, biological brothers, maternal and paternal uncles, nephews from biological or milk siblings, milk father and milk brothers, father-in-law, and son-in-law.

In-law boundaries are equally specific, and permanent mahrams must be separated from relatives by marriage who remain non-mahram. In answer 468973, Mahrams of a woman through marital relationship (IslamWeb, January 14, 2023), the Ministry of Endowments and Islamic Affairs portal explains:

"The Mahrams (non-marriageable men) of a woman due to a marriage relationship are four: the husband's antecedents, i.e. his fathers and grandfathers, his descendants, i.e. his sons, his grandsons, his daughters' sons and grandsons, her mother's husband on condition that he consummated the marriage contract with the mother; and her daughter's husband."

IslamWeb, Answer 468973, January 14, 2023

That same answer confirms that a husband's grandfathers on either side are mahrams, whereas a husband's paternal uncles are not mahrams. Permanent in-law mahrams remain mahram even if the marriage later ends through divorce or death, whereas temporary prohibitions such as being married to a woman's sister or aunt do not create mahram status or remove hijab.

Permanent mahrams for a woman

  • Father, grandfathers, son, and grandsons (by birth or as a nursed child's line)
  • Full, half, and milk brothers, plus biological or milk uncles and nephews
  • Husband's father and grandfathers, son-in-law, and stepsons
  • Mother's husband once that marriage is consummated

Commonly confused non-mahrams

  • Male cousins (whether by birth or through milk kinship)
  • Husband's brothers, brother-in-law, or sister's husband
  • Mother's sister's husband, father's sister's husband, or husband's uncles
  • A milk sibling's biological parents or biological brothers who did not nurse together

Four steps to trace a family question on paper

Before taking a complex kinship or nursing question to a scholar, write down the exact chain of links so the facts do not shift depending on who tells the story:

  1. Walk tie by tie, never by nicknameWrite down parent-child birth links, marriage contracts, and infant feedings separately. When an aunt nurses one nephew, only that nursed child and the child's own descendants enter her milk family; the boy's other biological brothers and sisters gain no tie to her children.
  2. Record the feeding details while elders rememberNote who nursed whom, who her husband was at the time of that milk, how many separate feedings took place, whether the baby fed until letting go by itself, the child's lunar age at the time, how the milk was given, and who witnessed it.
  3. Check where Sunni schools set different thresholdsHanafi and Maliki rules count any feeding that reaches the child's stomach, whereas Shafi'i and Hanbali rules require five separate feedings (with Shafi'i requiring each to be full and Hanbali scholars differing on forced pauses). Standard age ends under 24 lunar months, while Hanafi scholars differ between 24 and 30 lunar months, and Maliki scholars differ up to 26 lunar months if the child had not yet stopped needing milk.
  4. Bring incomplete facts and final rulings to a scholarA missing feeding memory or a single witness leaves uncertainty. Write down what is known and what nobody remembers, then present the full sheet to a qualified local scholar before making marriage decisions.

How Qohum maps recorded ties across four Sunni schools

I built Qohum: Mahram & Milk Siblings for Android so extended families can write down births, marriages, and infant feedings once and trace every tie under the rules of the four Sunni schools: Hanafi, Maliki, Shafi'i, and Hanbali. The app declares no internet permission in its release build, disables Android cloud backup and device transfer, encrypts its local family database with keys wrapped in the phone's hardware keystore, and never suggests, searches for, or ranks anyone for marriage.

On the Record a feeding flow, you enter the nursing woman, milk source, milk father, the nursed child, feeding count, fullness, child's lunar age or date, feeding method, weaning status, and witness names across four entry steps, with Not sure or Not known available on every uncertain detail. Before saving on the Before saving step, Qohum previews every pair whose answer would change across each school.

Qohum Record a feeding step 3 screen showing count options An exact number set to 6, full feeding Yes, and child age In months
Step 3 of feeding entry records count, whether each feeding was full, the child's lunar age, method, and weaning status, with uncertain options kept explicit.

Rather than hardcoding rules by relationship names, Qohum searches parent, marriage, and milk links up to 40 steps deep and returns the shortest chains per kind alongside any school disagreement. Testing two pairs from the bundled demonstration family alongside borderline feeding inputs shows how the four school rule tables behave:

How Qohum evaluates worked demonstration pairs and boundary rules across four Sunni schools
Case Hanafi & Maliki Shafi'i & Hanbali
Bilal & Safiya Mahram by milk (2 chains) Mahram by milk (2 chains)
Bilal & Layla Mahram by milk (1 witness note) No tie found (needs 5 full)
3 to 6 feeds Mahram by milk Not established (ask scholar)
24 lunar mo. Scholars differ (Hanafi under 30; Maliki under 26 if unweaned) No tie found (under 24 limit)

In the demonstration family, Khadija nursed her nephew Bilal six full times at 4 to 5 lunar months after a pregnancy, so Bilal and Safiya are milk siblings across all four schools through both Khadija and milk father Tariq. By contrast, Amina nursed Layla three times at 2 to 3 lunar months with fullness marked Not sure and only her own statement as witness, so Bilal and Layla show as mahram in Hanafi and Maliki tables with a single-witness warning, while Shafi'i and Hanbali show no tie found and state why.

Qohum Ask screen showing Bilal Rahman and Safiya Hassan as Mahram by milk in the Hanafi school with solid birth, double marriage, and dotted milk lines
On the Ask tab, each answer draws solid birth, double marriage, and dotted milk lines across up to two milk-parent paths.
Qohum Ask screen showing Amina Rahman nursed Layla Karim, a single-witness notice, and a yellow box listing Hanafi and Maliki mahram versus Shafi'i and Hanbali no tie found
When schools disagree or a feeding rests on one witness, Qohum shows both the single-witness note and the four-school breakdown.
  • Lunar age and missing dates: Gregorian dates convert using the Umm al-Qura Islamic calendar, while year-only dates or typed Hijri dates on a 29-day versus 30-day month boundary expand into an age range. Whenever an age or count range straddles a school's limit, Qohum reports that a tie needs certainty and treats the pair as non-mahram for hijab.
  • Unknown feeding histories and taken-in children: Every answer without a certain mahram tie lists both queried people and any mothers or grandmothers along the shortest path whose own infant nursing has not been recorded or cleared with a mother-only feeding note. Any person marked as taken in without a qualifying feeding displays a plain notice referencing Quran 33:4-5.
  • Sealed family files and manual merge review: On the Records tab, relatives can seal a passphrase-locked family file with a readable 8-group fingerprint, send it through Android's share sheet, and open an incoming file inside Qohum. Possible duplicate people are never merged automatically, and disagreeing versions stay side by side until a person picks one or keeps both.
  • Scholar printouts, backups, and optional app lock: Tapping Print exports an unencrypted A4 PDF containing all four schools, chains, unknowns, fingerprint, and original versioned witness history; CSV export and restore work similarly without encryption. An optional dedicated 4 to 8 digit App PIN or biometric unlock (separate from the phone's screen lock) protects access on shared phones. See the Qohum data handling page for full storage details.

Honest limits of Qohum

Qohum is a structured family ledger and rule-table calculator. It does not issue religious rulings, does not include the Ja'fari school, and cannot know about any feeding, witness, or marriage fact that relatives did not enter. Every marriage question carries a prompt to take the printed report to a qualified scholar.

  • No live network sync or automatic merge: Relatives must explicitly export a passphrase-locked file, share it, save or select it inside Qohum, and review new people and conflicts manually.
  • What the rule tables exclude: Qohum covers birth, marriage, and infant nursing ties under four Sunni school tables only; it does not decide divorce, waiting periods, inheritance shares, or ties outside documented records.
  • Unencrypted exports: Printed scholar PDFs and CSV backups are intentionally unencrypted files saved where you pick, so anyone holding those exported files can read all names and witness statements inside them.

What was not checked

  • No field study with real families or scholar sign-off yet: The rule tables were verified against 417 synthetic rule cases (3,204 school answers), 65 published scholarly questions (90 school answers), 20,000 generated test families (800,000 school answers), and 35 merge cases on a PC, not reviewed end to end by an external qualified scholar or tested in live family marriage inquiries.
  • No live two-phone transfer over a messenger: Sealing, passphrase refusal, duplicate review, and merging the demonstration file were tested on two tablets separately (a Galaxy Tab S3 in light theme and an Honor Pad X7 on Android 15 in dark theme), rather than sending a file from one phone to another through a live chat app.
  • Speed on a budget phone and accessibility scaling: Large 5,000-person family timings were measured on a desktop computer rather than on a budget phone, and TalkBack screen-reader navigation as well as doubled text scaling were not checked on the release build.
  • PDF text search on Arabic and Bengali names: Tablet PDF testing confirmed that Latin, Arabic, Bengali, and Devanagari names render visibly on the exported page, while text search and copy inside the PDF worked for Latin and Devanagari names and failed for Arabic and Bengali names; the app interface is English-only and not yet set up for translation into other languages.

Email Saifullah Explore all one hundred eight stories