Shajaram
5th–8th centuries

Family Tree of Prophet Muhammad (pbuh)

The Quraysh tribe — the families of the Hashimites, the Umayyads and the Rightly Guided Caliphs

25 generations102 people

The lineage of Prophet Muhammad, peace and blessings be upon him, going back to Adnan; his forefathers Qusayy, Hashim and Abd al-Muttalib, his uncles Abu Talib, Hamzah and Abbas, his household (Ahl al-Bayt) — Khadijah, Fatimah, Ali, Hasan and Husayn — as well as the branches of Abu Bakr, Umar and Uthman (may Allah be pleased with them) within the Quraysh.

Drag and zoom the tree. Tap a card to read about that person below.

List by generation

Generation 1

Maria al-Qibtiyya

? – 637

Sent as a gift in 628 by Muqawqis, the ruler of Egypt. Mother of Ibrahim; there are differing views on her status (wife or concubine).

Children
Ibrahim ibn Muhammad

Generation 2

Generation 3

Generation 4

Generation 5

Generation 6

Generation 7

Generation 8

Generation 9

Generation 10

Generation 11

Fihr (Quraysh) ibn Malik

According to most genealogists, the name "Quraysh" belongs to him and the tribe descends from him; some attribute the name to his father al-Nadr.

Father
Malik ibn al-Nadr
Children
Ghalib ibn Fihr

Generation 12

Generation 13

Generation 14

Generation 15

Generation 16

Generation 17

Generation 18

Generation 19

Hashim ibn Abd Manaf

? – 497

Born Amr. Founder of the house of Hashim; called Hashim ("the crumbler") because he broke bread and served tharid to the pilgrims. He organised the winter and summer caravan journeys of the Quraysh and died in Gaza (year approximate).

Father
Abd Manaf ibn Qusayy
Children
Abd al-Muttalib ibn Hashim

Muttalib ibn Abd Manaf

He brought his orphaned nephew Shaybah from Medina to Mecca — which is why the boy came to be called Abd al-Muttalib.

Father
Abd Manaf ibn Qusayy

Generation 20

Abd al-Muttalib ibn Hashim

497 – 578

Born Shaybah. Grandfather of the Prophet (pbuh); he reopened the well of Zamzam. Chief of Mecca in the Year of the Elephant; he raised his orphaned grandson until the age of eight. Dates approximate.

Father
Hashim ibn Abd Manaf
Spouse
Fatimah bint Amr
Children
Abdullah ibn Abd al-Muttalib, Abu Talib ibn Abd al-Muttalib, Hamzah ibn Abd al-Muttalib, Abbas ibn Abd al-Muttalib, Abu Lahab ibn Abd al-Muttalib, Harith ibn Abd al-Muttalib, Zubayr ibn Abd al-Muttalib, Safiyyah bint Abd al-Muttalib

Generation 21

Aminah bint Wahb

? – 577

Mother of the Prophet (pbuh), of the Banu Zuhrah clan. She died at the village of Abwa on the way back from Medina, when her son was six years old.

Spouse
Abdullah ibn Abd al-Muttalib
Children
Muhammad (pbuh)

Hamzah ibn Abd al-Muttalib

568 – 625

Asadullah — "the Lion of Allah". Uncle of the Prophet (pbuh) and his foster brother (both were nursed by Thuwaybah). He was martyred at the Battle of Uhud and is called "Sayyid al-Shuhada" (the Master of Martyrs).

Father
Abd al-Muttalib ibn Hashim

Abu Lahab ibn Abd al-Muttalib

? – 624

Born Abd al-Uzza. He fiercely opposed Islam; Surah al-Masad (al-Lahab) of the Quran is about him. He died in Mecca shortly after the Battle of Badr.

Father
Abd al-Muttalib ibn Hashim

Harith ibn Abd al-Muttalib

Eldest son of Abd al-Muttalib; his father's kunya "Abu al-Harith" comes from him.

Father
Abd al-Muttalib ibn Hashim

Generation 22

Muhammad (pbuh)

570 – 08.06.632

The last prophet of Allah the Exalted, peace and blessings be upon him. Born in Mecca, he received the first revelation at the age of 40 (610), made the Hijrah to Medina in 622 (the start of the Hijri calendar) and conquered Mecca in 630. He died in Medina and was buried in the Prophet's Mosque (al-Masjid an-Nabawi).

Father
Abdullah ibn Abd al-Muttalib
Mother
Aminah bint Wahb
Spouse
Khadijah bint Khuwaylid, Sawdah bint Zam'ah, Aishah bint Abi Bakr, Hafsah bint Umar, Zaynab bint Khuzaymah, Umm Salamah (Hind bint Abi Umayyah), Zaynab bint Jahsh, Juwayriyah bint al-Harith, Umm Habibah (Ramlah bint Abi Sufyan), Safiyyah bint Huyayy, Maymunah bint al-Harith
Children
Qasim ibn Muhammad, Zaynab bint Muhammad, Ruqayyah bint Muhammad, Umm Kulthum bint Muhammad, Fatimah bint Muhammad, Abdullah ibn Muhammad, Ibrahim ibn Muhammad

Ja'far ibn Abi Talib

590 – 629

Known as "al-Tayyar" (the Flyer). Leader of the emigrants to Abyssinia, he defended Islam before the Negus (al-Najashi). He was martyred at the Battle of Mu'tah.

Father
Abu Talib ibn Abd al-Muttalib
Mother
Fatimah bint Asad

Abdullah ibn Abbas

619 – 687

"Hibr al-Ummah" — the scholar of the Ummah, "Tarjuman al-Quran" (Interpreter of the Quran). A great Companion and Quran commentator; he died in Ta'if.

Father
Abbas ibn Abd al-Muttalib

Sawdah bint Zam'ah

? – 674

The first woman the Prophet (pbuh) married after Khadijah's death; she gave her turn to Aishah. According to Ibn Sa'd she died in 674; another account gives 644.

Spouse
Muhammad (pbuh)

Zaynab bint Khuzaymah

? – 625

"Umm al-Masakin" — the Mother of the Poor. She died a few months after the marriage; apart from Khadijah, the only wife who died during the Prophet's (pbuh) lifetime.

Spouse
Muhammad (pbuh)

Umm Salamah (Hind bint Abi Umayyah)

596 – 680

Widow of Abu Salamah; known for the advice she gave on the day of the Treaty of Hudaybiyyah. One of the last of the Prophet's (pbuh) wives to die.

Spouse
Muhammad (pbuh)

Zaynab bint Jahsh

590 – 641

Cousin of the Prophet (pbuh) (her mother was Umaymah bint Abd al-Muttalib). Famous for her generosity; the first of his wives to die after the Prophet (pbuh).

Spouse
Muhammad (pbuh)

Juwayriyah bint al-Harith

608 – 676

Daughter of al-Harith ibn Abi Dirar, chief of the Banu al-Mustaliq tribe. After her marriage the captives taken from the tribe were set free.

Spouse
Muhammad (pbuh)

Safiyyah bint Huyayy

610 – 670

Daughter of Huyayy ibn Akhtab, chief of the Banu Nadir; freed and married after the conquest of Khaybar. Her lineage is said to go back to Prophet Aaron (Harun, pbuh). The marriage year is 628 or 629, depending on the source.

Spouse
Muhammad (pbuh)

Maymunah bint al-Harith

594 – 671

The last woman the Prophet (pbuh) married; sister of Lubabah, the wife of Abbas. She died at Sarif in the year 51 AH (61 according to another account).

Spouse
Muhammad (pbuh)

Generation 23

Aishah bint Abi Bakr

614 – 678

Daughter of Abu Bakr; one of the Companions who narrated the most hadith, and a major jurist. The marriage was contracted in Mecca (in 620 or 623, depending on the source) and married life began in Medina. The Prophet (pbuh) died in her room and was buried there.

Father
Abu Bakr al-Siddiq ibn Abi Quhafah
Spouse
Muhammad (pbuh)

Umm Habibah (Ramlah bint Abi Sufyan)

594 – 664

Daughter of Abu Sufyan and sister of Mu'awiyah. She emigrated to Abyssinia with her first husband, and her marriage to the Prophet (pbuh) was contracted there.

Father
Abu Sufyan ibn Harb
Spouse
Muhammad (pbuh)

Ibrahim ibn Muhammad

630 – 632

Born in Medina, he died before reaching the age of two. A solar eclipse occurred that day; the Prophet (pbuh) explained that the sun and the moon do not eclipse because of anyone's death.

Father
Muhammad (pbuh)
Mother
Maria al-Qibtiyya

Abu al-As ibn al-Rabi'

? – 634

Nephew of Khadijah and husband of Zaynab. He was taken captive at Badr; later he became a Muslim and was reunited with Zaynab.

Spouse
Zaynab bint Muhammad
Children
Umamah bint Abi al-As

Uthman ibn Affan

576 – 656Reign: 644–656

The third caliph (644–656), Dhu al-Nurayn — he married two daughters of the Prophet (pbuh). He compiled the Quran into a single Mushaf and sent copies to the provinces. One of the ten Companions promised Paradise; he was martyred in Medina when his house was besieged.

Father
Affan ibn Abi al-As
Spouse
Ruqayyah bint Muhammad, Umm Kulthum bint Muhammad

Marwan I ibn al-Hakam

623 – 685Reign: 684–685

Umayyad caliph (684–685); founder of the Marwanid branch.

Father
Hakam ibn Abi al-As

Abd al-Rahman ibn Abi Bakr

? – 673

Full brother of Aishah; he fought in the ranks of the polytheists at Badr and later became a Muslim. He died near Mecca (in 53 AH; 55 according to another account).

Father
Abu Bakr al-Siddiq ibn Abi Quhafah

Muhammad ibn Abi Bakr

631 – 658

His mother was Asma bint Umays; after his father's death he was raised by his stepfather Ali. Ali appointed him governor of Egypt, where he was killed.

Father
Abu Bakr al-Siddiq ibn Abi Quhafah

Umar ibn al-Khattab

584 – 644Reign: 634–644

The second caliph (634–644), al-Faruq. Under him Syria, Iraq, Egypt and Iran were conquered and the Hijri calendar was introduced. He died in Medina of wounds received during the dawn prayer. Father of Hafsah.

Father
Khattab ibn Nufayl
Children
Hafsah bint Umar, Abdullah ibn Umar

Zayd ibn al-Khattab

? – 632

Elder brother of Umar, martyred at the Battle of Yamamah.

Father
Khattab ibn Nufayl

Generation 24

Hafsah bint Umar

605 – 665

Daughter of Umar ibn al-Khattab. The Quran sheets compiled under Abu Bakr were kept with her; the copies of Uthman's Mushaf were made from them.

Father
Umar ibn al-Khattab
Spouse
Muhammad (pbuh)

Umamah bint Abi al-As

The granddaughter whom the Prophet (pbuh) carried on his shoulders during prayer. After Fatimah's death, in accordance with her will, she married Ali.

Father
Abu al-As ibn al-Rabi'
Mother
Zaynab bint Muhammad

Hasan ibn Ali

625 – 670Reign: 661

Grandson of the Prophet (pbuh). In 661 he was caliph for about six months, made peace with Mu'awiyah, and the Ummah was united. He died in Medina and was buried in al-Baqi'.

Father
Ali ibn Abi Talib
Mother
Fatimah bint Muhammad

Abdullah ibn al-Zubayr

624 – 692

The first child of the Muhajirun born in Medina after the Hijrah; he proclaimed a caliphate in Mecca (683–692).

Father
Zubayr ibn al-Awwam
Mother
Asma' bint Abi Bakr

Abdullah ibn Umar

610 – 693

A Companion who narrated many hadith and followed the Sunnah strictly.

Father
Umar ibn al-Khattab

Generation 25

Ali Zayn al-Abidin ibn Husayn

659 – 713

The only son to survive Karbala; Husayn's line continued through him.

Father
Husayn ibn Ali

Compiled from open historical sources; some dates are approximate. These trees cannot be edited.

Build your own family tree

Record your ancestors, keep family photos and fill in the tree together with your relatives — for free.

Get started free

Other family trees

All family trees