Tracing the Noble Ancestry of the 12th Imam in Shia Islam
The belief in Imam Mahdi (AJ) as the awaited savior and final divine guide is central to Shia Islam. As the 12th Imam, he completes the sacred line of Imams from the Ahlul Bayt—the family of the Prophet Muhammad (PBUH). His lineage not only links him biologically to the Prophet but also spiritually connects him to a legacy of divine knowledge, justice, and leadership. Understanding the family lineage of Imam Mahdi (AJ) provides insight into his identity, legitimacy, and unique role in Islamic eschatology.

Who is Imam Mahdi (AJ)?
Imam Mahdi (AJ), whose full name is Muhammad ibn al-Hasan ibn Ali, was born on the 15th of Sha’ban, 255 AH (869 CE) in Samarra, Iraq. He is the only son of Imam Hasan al-Askari (AS), the 11th Imam, and the final divinely appointed Imam in Twelver Shia Islam. From birth, he was divinely protected and hidden from enemies who feared the rise of the prophesied savior.
Lineage Through the Twelve Imams
Imam Mahdi (AJ) belongs to an unbroken chain of divinely appointed Imams, all descended directly from Prophet Muhammad (PBUH) through Lady Fatimah al-Zahra (SA) and Imam Ali ibn Abi Talib (AS).
The Line of Imamate Leading to Imam Mahdi (AJ):
- Prophet Muhammad (PBUH)
The final Prophet and grandfather of the Imams through his daughter. - Imam Ali ibn Abi Talib (AS)
Cousin and son-in-law of the Prophet; the first Imam. - Lady Fatimah al-Zahra (SA)
Daughter of the Prophet, wife of Imam Ali (AS), and mother of the next Imams. - Imam Hasan al-Mujtaba (AS)
Son of Imam Ali and Fatimah; the second Imam. - Imam Husayn ibn Ali (AS)
The third Imam, martyred at Karbala; father of the Imamate line. - Imam Ali Zayn al-Abidin (AS)
Known for his worship and patience. - Imam Muhammad al-Baqir (AS)
Known for his vast knowledge. - Imam Ja’far al-Sadiq (AS)
Founder of the Ja’fari school of Islamic thought. - Imam Musa al-Kazim (AS)
Known for his piety and patience in prison. - Imam Ali al-Ridha (AS)
Lived during the Abbasid Caliphate. - Imam Muhammad al-Taqi (AS)
Became Imam at a young age. - Imam Ali al-Hadi (AS)
Known for his resistance to political corruption. - Imam Hasan al-Askari (AS)
Father of Imam Mahdi (AJ). - Imam Muhammad ibn al-Hasan al-Mahdi (AJ)
The 12th and final Imam, currently in occultation.
The Maternal Line of Imam Mahdi (AJ)
While his paternal lineage is well-known, the identity of Imam Mahdi’s mother also carries spiritual weight. She is commonly referred to as:
- Narjis, Nargis Khatun, or Sayyida Narjis
Royal and Spiritual Heritage
According to Shia narrations, she was of noble Roman (Byzantine) descent, possibly a descendant of Simon Peter, the disciple of Prophet Jesus (AS). This symbolizes a merging of Abrahamic traditions—Judaism, Christianity, and Islam—within the Mahdi’s lineage, reflecting his universal mission.
Narjis was divinely guided through dreams and visions to the household of the 10th and 11th Imams. She married Imam Hasan al-Askari (AS) and gave birth to Imam Mahdi (AJ) in secrecy due to the threat posed by the Abbasid rulers.
A Lineage of Purity and Divine Selection
Imam Mahdi’s lineage is not only noble—it is divinely chosen. Each Imam was appointed by God, confirmed by their predecessor, and upheld divine law with unmatched knowledge and character.
“Verily, Allah intends to keep off from you every kind of uncleanness, O people of the household, and purify you thoroughly.”
~Qur’an 33:33 (Ayat al-Tathir)
This verse is widely accepted by both Sunni and Shia scholars as referring to the Ahlul Bayt, confirming their divine purity—a status that culminates in the person of Imam Mahdi (AJ).
The Significance of His Lineage
The family lineage of Imam Mahdi (AJ) holds deep theological and eschatological importance:
- Confirms his legitimacy as the final divine guide
- Connects him directly to Prophet Muhammad (PBUH)
- Fulfills the prophecy that the Mahdi will be from the Prophet’s progeny
- Reflects centuries of spiritual and moral excellence
Conclusion: A Lineage That Carries the Future of Humanity
The lineage of Imam Mahdi (AJ) is more than history—it is a sacred legacy passed down from the Prophet to the world’s final savior. It embodies divine wisdom, purity, and justice.
Awaiting the Mahdi is not just awaiting a person—it’s honoring a divine family that has carried the light of truth through centuries. His mission is the final chapter of a divine trust that began with the Prophet (PBUH) and will one day guide all of humanity toward peace and justice.