Ali ibn Abi Talib: The Fourth Rightly-Guided Caliph and Cousin of the Prophet ﷺ (UK Profile 2026)
By Eaalim Institute on 4/27/2026
Ali ibn Abi Talib (Arabic: علي بن أبي طالب; born 23 BH / 599 CE, died 40 AH / 661 CE) was the cousin and son-in-law of the Prophet Muhammad ﷺ, the fourth Rightly-Guided Caliph (Khulafa Rashidun), one of the most learned of all the Sahabah, and one of the ten Companions promised Paradise (al-ʿasharah al-mubasharoon). Among Sunni Muslims he is universally revered as one of the four greatest Caliphs; among Shi'a Muslims he is held to be the Prophet's ﷺ direct successor and the first of the twelve Imams. This UK guide presents Ali (RA)'s life from the Sunni perspective — his birth, his close relationship with the Prophet ﷺ, his role in early Islam, his Caliphate, and what British Muslim families can take from his example.
His birth inside the Ka'bah
Ali (RA) was born in 599 CE inside the Ka'bah itself in Makkah — an honour preserved for him alone in Islamic history. His mother, Fatimah bint Asad, was visiting the Ka'bah in late pregnancy when labour began. The doors of the Ka'bah, normally locked, were said to have opened miraculously to allow her to enter, and she gave birth to him within the sacred structure. Classical sources (al-Tabari, al-Hakim, others) record this without contradiction. Ali (RA) is the only person known to have been born inside the Ka'bah.
His father, Abu Talib ibn Abd al-Muttalib, was the Prophet's ﷺ paternal uncle — the same uncle who raised the orphaned young Muhammad ﷺ after his grandfather's death. This made Ali (RA) the Prophet's ﷺ first cousin.
The first male child to embrace Islam
When the Prophet ﷺ began receiving revelation in 610 CE at age 40, Ali (RA) was about ten years old and was living in the Prophet's ﷺ household. The young Ali (RA) embraced Islam very early — he is widely regarded as the first male child to do so. The first adult Muslims were Khadijah (RA) (the Prophet's ﷺ wife), Abu Bakr (RA) (his closest friend), and Zayd ibn Harithah (RA) (his freed slave and adopted son).
Ali's (RA) early embrace shaped the rest of his life: he grew up entirely within the Muslim community, witnessed the persecution of the Makkan period, and was 23 years old at the Hijrah.
The night of the Hijrah: sleeping in the Prophet's ﷺ bed
One of the most famous moments of Ali's (RA) early life: on the night of the Hijrah in 622 CE, Quraysh assassins from each clan had gathered around the Prophet's ﷺ house with the intention of killing him together (so that no single clan could be held responsible for revenge). Allah commanded the Prophet ﷺ to leave that night with Abu Bakr (RA). To delay the assassins' discovery, Ali (RA) volunteered to sleep in the Prophet's ﷺ bed wrapped in his green cloak, knowing that the assassins might kill him when they entered.
The Prophet ﷺ and Abu Bakr (RA) escaped to the Cave of Thawr; the assassins waited until morning before storming the house, only to find Ali (RA) instead of the Prophet ﷺ. Surah Al-Baqarah 2:207 is widely understood to refer to this episode: "And of the people is he who sells his soul, seeking the pleasure of Allah."
Ali (RA) then stayed in Makkah for several days to return the deposits people had left with the Prophet ﷺ for safekeeping, before himself migrating to Madinah on foot — a 400 km journey he completed alone.
His marriage to Fatimah (RA)
In 2 AH (624 CE), shortly after the Battle of Badr, Ali (RA) married Fatimah (RA), the youngest daughter of the Prophet ﷺ. The marriage produced four children who survived to adulthood: Hassan (RA), Hussain (RA), Zaynab, and Umm Kulthum. Through Hassan (RA) and Hussain (RA), virtually all of the Ahl al-Bayt (people of the household) lineage descends to the present day.
The household of Ali (RA) and Fatimah (RA) lived in deliberate simplicity. Despite Ali (RA) being the Prophet's ﷺ son-in-law and a senior companion, the family ground their own grain, mended their own clothes, and lived without servants for most of their marriage. The Prophet ﷺ taught them a beautiful supplication for moments of fatigue: 33 Subhanallah, 33 Alhamdulillah, 34 Allahu Akbar before sleep — "better than a servant" (Sahih al-Bukhari 5361). British Muslim families struggling with daily fatigue can recite the same.
His role in the Prophetic battles
Ali (RA) participated in nearly every battle of the Prophet ﷺ — Badr, Uhud, Khandaq, Khaybar, Hudaybiyyah, the Conquest of Makkah, and Hunayn. At Khaybar (7 AH), the Prophet ﷺ said about him: "Tomorrow I will give the standard to a man who loves Allah and His Messenger, and Allah and His Messenger love him. Allah will grant victory through his hand." The next morning he gave the standard to Ali (RA), who led the conquest of the fortress.
Ali (RA) was renowned for his physical courage in single combat — the Arab tradition of one-on-one challenges before the main battle. His sword, Dhu'l-Faqar, became one of the most celebrated weapons in Islamic memory. But his contemporaries also note he was reluctant to fight, preferring resolution by speech where possible.
Caliphate (35-40 AH / 656-661 CE)
Ali (RA) became the fourth Caliph in 35 AH after the assassination of Uthman (RA). His five-year Caliphate was the most difficult of the four, dominated by the First Civil War (Fitnah):
- The Battle of the Camel (36 AH). Aisha (RA), Talha (RA), and Az-Zubayr (RA) led an army demanding immediate justice for Uthman's (RA) assassination. Ali (RA) sought to investigate first, then prosecute. The two sides met at Basra; the battle was fought reluctantly. Aisha (RA) was returned to Madinah with full honour after the battle.
- The Battle of Siffin (37 AH). Muawiya ibn Abi Sufyan (RA), governor of Syria, refused to recognise Ali's (RA) Caliphate until Uthman's (RA) killers were brought to justice. The two armies fought at Siffin for several months without decisive victory; arbitration was agreed.
- The Khawarij rebellion (38 AH). A group within Ali's (RA) own army split off, declaring both Ali (RA) and Muawiya (RA) infidels for accepting arbitration. Ali (RA) defeated them at Nahrawan but their movement persisted as a permanent extremist sect.
- His assassination (40 AH). A Khariji extremist named Ibn Muljam attacked Ali (RA) with a poisoned sword while he was leaving Fajr salah at the mosque of Kufa on the 19th of Ramadan 40 AH. Ali (RA) died two days later, on the 21st of Ramadan.
His son Hassan (RA) was given bayʿah as the fifth Caliph but, as we covered in our Al-Hassan ibn Ali UK profile, abdicated within months to end the civil war.
His scholarship
Ali (RA) was one of the most learned of all the Sahabah. The Prophet ﷺ said about him: "I am the city of knowledge, and Ali is its gate" (Sunan al-Tirmidhi 3723; the chain is debated, but the meaning is broadly accepted). Specific contributions:
- One of the few companions who recorded ahadith in writing during the Prophet's ﷺ lifetime (similar to Abdallah ibn Amr ibn al-Aas).
- One of the foremost authorities on the Quran's nasikh wa mansukh (abrogating and abrogated verses).
- Eloquence in Arabic. His sermons preserved in Nahj al-Balagha are among the most quoted classical Arabic prose, studied by Sunni and Shi'a scholars alike.
- Senior judge during the Caliphates of Abu Bakr (RA), Umar (RA), and Uthman (RA), to whom they often deferred for difficult legal questions.
His character
Ali (RA) was famous for:
- Asceticism. Despite being the son-in-law of the Prophet ﷺ and Caliph, his clothes were often patched. He owned little.
- Justice. As Caliph he refused to favour his own family in any judgement.
- Generosity. The Quranic ayah on giving charity at night and during the day (Surah Al-Baqarah 2:274) was, according to several tafsir reports, revealed about his giving.
- Courage in combat and humility outside it.
What British Muslim families can take from Ali (RA)'s life
- Embrace Islam early and live it daily. Ali (RA) embraced Islam at about age 10 and lived it for 51 years until his death. UK Muslim children who internalise the deen early carry it differently than late-converts.
- Knowledge is the highest pursuit. The Prophet ﷺ specifically called Ali (RA) the gate to the city of knowledge. UK Muslim teenagers should pursue Quranic and Arabic learning seriously, not as a hobby.
- Live simply regardless of position. Ali (RA) was Caliph and wore patched clothes. UK Muslim professionals' status should not match their consumption habits.
- Justice over loyalty. Ali (RA) refused to favour his own family. British Muslim community leaders facing pressure to bend rules for relatives should follow his example.
- Dignity in adversity. Ali's (RA) Caliphate was the hardest of the four; he never compromised on principles even when it cost him politically.
The Sunni-Shi'a difference, briefly
For British Muslim families: the Sunni-Shi'a difference centres in part on the question of succession after the Prophet ﷺ. Sunnis hold that the community properly chose Abu Bakr (RA) as the first Caliph, with Umar (RA), Uthman (RA), and Ali (RA) following. Shi'a hold that Ali (RA) was designated by the Prophet ﷺ at Ghadir Khumm and should have been first.
This guide presents the Sunni perspective. We respect Ali (RA) deeply — he is one of the four Rightly-Guided Caliphs, one of the ten promised Paradise, the Prophet's ﷺ son-in-law, the father of Hassan (RA) and Hussain (RA). Sunni reverence for Ali (RA) is total, even where we differ on succession theory. UK Muslim children should learn his life with respect and avoid sectarian polemics where possible.
How Eaalim helps British Muslim children learn about Ali (RA)
Eaalim's one-to-one online Quran lessons teach the surahs and stories that ground children's understanding of the Sahabah, including Ali (RA). Lessons are 30 minutes, GMT/BST, in pounds, free real trial. Start here.
Frequently asked questions
Commencez votre voyage avec Eaalim dès aujourd'hui !
Essai gratuitFrequently Asked Questions
Ali ibn Abi Talib (599-661 CE / 23 BH-40 AH) was the Prophet Muhammad's (peace be upon him) cousin and son-in-law (married to the Prophet's daughter Fatimah RA), the fourth Rightly-Guided Caliph (35-40 AH), and one of the most learned of all the Sahabah. He embraced Islam as a child, slept in the Prophet's bed on the night of the Hijrah, fought in nearly every Prophetic battle, and was assassinated by a Khariji extremist while leaving Fajr salah in 40 AH.
Yes — classical sources (al-Tabari, al-Hakim, others) record this without contradiction. His mother Fatimah bint Asad was visiting the Ka'bah in late pregnancy when labour began. The Ka'bah's doors, normally locked, were said to have opened miraculously to allow her to enter. Ali (RA) is the only person known in Islamic history to have been born inside the Ka'bah itself. The story is widely accepted across Sunni and Shi'a tradition.
He was the first male child to embrace Islam. The first adult Muslims were Khadijah (RA) — the Prophet's wife, the first Muslim of all — followed by Abu Bakr (RA) as the first adult man, and Zayd ibn Harithah (RA), the Prophet's freed slave and adopted son. Ali (RA), about 10 years old at the start of revelation, embraced Islam very early in the Makkan period.
He slept in the Prophet's (peace be upon him) bed wrapped in his green cloak, while the Prophet (peace be upon him) and Abu Bakr (RA) escaped to the Cave of Thawr. Quraysh assassins from each clan were waiting outside the Prophet's house, intending to kill him together so no single clan could be blamed. Ali (RA) volunteered for this dangerous role, knowing the assassins might kill him on entering. Surah Al-Baqarah 2:207 is widely understood to refer to this: 'And of the people is he who sells his soul, seeking the pleasure of Allah.' He then stayed in Makkah for several days to return the deposits people had left with the Prophet for safekeeping, before migrating to Madinah on foot — a 400 km journey alone.
Two relationships at once. First, he was the Prophet's first cousin — Ali's father Abu Talib was the brother of the Prophet's father Abdullah, both sons of Abdul-Muttalib. Abu Talib raised the orphaned young Muhammad after his grandfather's death. Second, Ali married the Prophet's daughter Fatimah (RA) in 2 AH, making him also the Prophet's son-in-law. Through this marriage came Hassan (RA), Hussain (RA), Zaynab, and Umm Kulthum — the lineage of the Ahl al-Bayt.
Five years (35-40 AH / 656-661 CE), and the most politically difficult of the four Rightly-Guided Caliphates. He inherited the aftermath of Uthman's (RA) assassination and faced the First Civil War: the Battle of the Camel against Aisha (RA), Talha (RA), and Az-Zubayr (RA); the Battle of Siffin against Muawiya (RA); the Khawarij rebellion at Nahrawan. He was assassinated by a Khariji named Ibn Muljam in 40 AH while leaving Fajr salah in Kufa. His son Hassan (RA) succeeded him briefly before abdicating to end the civil war.
After the Battle of Siffin, Ali (RA) and Muawiya (RA) agreed to arbitration to resolve the dispute. A group within Ali's army rejected this — they argued only Allah could judge, and humans accepting arbitration were going beyond Islamic limits. They split off as the Khawarij ('the seceders'), declaring both Ali and Muawiya infidels. After defeat at Nahrawan in 38 AH, surviving Khawarij plotted assassinations. Ibn Muljam carried out the attack on Ali in 40 AH. The Khawarij movement continued as a permanent extremist sect for centuries.
In summary: Sunnis hold that the Muslim community properly chose Abu Bakr (RA) as the first Caliph after the Prophet (peace be upon him), with Umar (RA), Uthman (RA), and Ali (RA) following — all four of whom are accepted as Rightly-Guided. Shi'a hold that Ali (RA) was designated by the Prophet at Ghadir Khumm and should have been the first successor; the Caliphates of the first three are seen by Shi'a as either improper or as departures from the prophetic instruction. Both traditions revere Ali (RA) deeply; the difference is about succession, not about Ali's righteousness.
He was one of the few Sahabah who recorded ahadith in writing during the Prophet's lifetime. He was a foremost authority on the Quran's nasikh wa mansukh (abrogating and abrogated verses). His Arabic eloquence is preserved in his sermons collected in Nahj al-Balagha — among the most-quoted classical Arabic prose. He served as senior judge during the first three Caliphates, who often deferred to him on difficult legal questions. The Prophet (peace be upon him) called him 'the gate to the city of knowledge'.
Start with the heroic stories: born inside the Ka'bah, sleeping in the Prophet's bed on the Hijrah night, his role at Khaybar. These engage children. For older teenagers, introduce the Caliphate years and the lessons of justice over loyalty. Avoid sectarian polemics — the Sunni position respects Ali (RA) deeply while differing on succession theory. Eaalim teachers integrate Sahabah biographies into Quran lessons for older children: free trial at https://eaalim.com/free-trial