The last of the four Rightly-Guided Caliphs is also, in a real sense, the companion whose memory carries the most weight across Islam's two largest traditions: Ali ibn Abi Talib, raised almost as a son in the Prophet's ﷺ own house, husband to his daughter, and father to his most famous grandsons.
The boy raised in the Prophet's household
Ali was the son of Abu Talib, the Prophet's ﷺ uncle and guardian, and so the Prophet's ﷺ first cousin. According to the traditional accounts, when a famine strained Abu Talib's household, the Prophet ﷺ — then not yet receiving revelation — took the young Ali into his own home to raise alongside his wife Khadijah, years before prophethood began. When revelation came, Ali, still a boy, is traditionally regarded as the first, or among the very first, of the youth to believe in the Prophet's ﷺ message, at an age most sources place at around ten. Growing up inside the household that received the Quran gave Ali an intimacy with the Prophet's ﷺ life and teaching that few other companions could claim.235
That closeness was affirmed directly by the Prophet ﷺ on the expedition to Tabuk, when Ali, left behind in Medina to look after the Prophet's ﷺ family, asked whether he was being sidelined:
The Prophet ﷺ said to Ali, "Will you not be pleased that you will be to me like Harun (Aaron) was to Musa (Moses), except that there will be no prophet after me?"
— Sahih al-Bukhari 37061
This hadith is treasured across both Sunni and Shia Islam, though the two traditions draw somewhat different implications from it: Sunni scholarship reads it as an expression of the Prophet's ﷺ personal affection and trust, comparable to Harun's role as Musa's deputy during a temporary absence, without a claim to permanent succession, while it forms one part of the wider case Shia scholarship makes for Ali's designated leadership. Both readings are held sincerely, and this site presents each without adjudicating between them.
Marriage to Fatimah, and the family that followed
Ali married Fatimah, the Prophet's ﷺ beloved daughter by Khadijah, and the couple's sons Hasan and Husayn are remembered as the Prophet's ﷺ own grandsons, spoken of with tenderness in numerous traditions from the Prophet's ﷺ lifetime. Through Hasan and Husayn, the Prophet's ﷺ direct bloodline continued.234 Husayn's death at the Battle of Karbala in 680 CE, a generation after Ali's own death, holds especially deep significance in Shia Islam, commemorated each year on Ashura — though that later episode belongs to the history of Ali's descendants rather than to his own life, and is a fuller story than this article can tell.
Scholar, judge, and the sermons collected later
Within the Muslim tradition, Ali is remembered as a source of exceptional religious knowledge and sound judgment, consulted by the earlier caliphs on difficult legal questions and credited with rulings that balanced strict justice with practical wisdom. Centuries later, a collection of sermons, letters, and sayings attributed to him, known as Nahj al-Balagha ("The Peak of Eloquence"), was compiled by the Shia scholar al-Sharif al-Radi around the turn of the 11th century CE — roughly three hundred and fifty years after Ali's death — drawing on earlier sources that al-Radi does not always name in full. The collection holds a place of particular reverence in Shia scholarship and is read and admired by many Sunni Muslims as well, but because of the gap between Ali's life and its compilation, and because al-Radi's precise sources are not always traceable, the authenticity of individual passages is a subject of ongoing scholarly discussion rather than settled fact, and it is not treated on this site as equivalent in reliability to graded hadith.634
Caliphate amid civil strife
Ali became the fourth caliph in 656 CE, immediately after Uthman's assassination, inheriting a community already divided by that killing. His five-year caliphate (656-661 CE) was dominated by internal conflict rather than the external expansion that had marked his predecessors' reigns.234 Two battles defined it. At the Battle of the Camel (656 CE), Ali's forces met a faction that included the Prophet's ﷺ widow Aisha, along with the companions Talha and al-Zubayr, who sought justice for Uthman's killing through means Ali believed would only deepen the community's wounds. At the Battle of Siffin (657 CE), Ali faced Muawiyah, the governor of Syria and a kinsman of Uthman, in a conflict that ended inconclusively through arbitration and left both sides unsatisfied.234
These events are painful to relate honestly, and mainstream historical scholarship treats them as exactly that — a tragedy in which sincere Muslims on multiple sides believed they were pursuing justice, rather than a contest with a simple hero and villain. This site does not assign blame between the parties to the First Fitna; the disagreements of that era, and how they shaped the later leadership of the Muslim community, are the origin of the divide explored more fully in The Sunni and Shia Traditions. What can be said without dispute is that the Muslim community entered Ali's caliphate already wounded by Uthman's death and did not fully heal from the conflicts that followed within his lifetime.
Revered by both traditions, understood differently
Ali holds an almost unmatched place of honor across both major branches of Islam, though each tradition frames that honor differently. In Sunni Islam, Ali is the fourth and final of the Rightly-Guided Caliphs, a foremost companion, a source of Quranic exegesis and Islamic law, and a beloved member of the Prophet's ﷺ family — but a leader chosen by the community in the same manner as his three predecessors. In Shia Islam, Ali is the first Imam, believed to have been designated by the Prophet ﷺ himself as his rightful successor, and the wellspring of a line of divinely guided leadership continued through Hasan, Husayn, and their descendants. Both traditions draw on the same body of early history and many of the same hadith; they weigh and interpret that material differently. This site presents both understandings side by side rather than declaring one the only truth, in keeping with the approach set out in The Sunni and Shia Traditions.234
Martyrdom at Kufa and legacy
Ali was assassinated in 661 CE in Kufa, struck with a poisoned sword while praying in the mosque by Abd al-Rahman ibn Muljam, a member of the Kharijites, a group that had broken from Ali's own camp after rejecting the arbitration at Siffin as a compromise of principle. His death brought the Rashidun period to a close and led to the rise of the Umayyad dynasty under Muawiyah.234 Ali is remembered across the Muslim world — Sunni and Shia alike — as a man of learning, courage, and piety whose life traced the whole arc of early Islam, from a boy raised in the Prophet's ﷺ household to a caliph who held the community together through its most painful internal rupture.
In short
Ali ibn Abi Talib's life spans the entire founding generation of Islam — the first believer among the youth, husband and father within the Prophet's ﷺ own family, scholar and judge, and finally caliph amid civil war. His story completes the account of the Rightly-Guided Caliphs begun with Abu Bakr, and opens directly onto the history of the Sunni and Shia traditions that trace their origins to this generation's unresolved questions of leadership.