Skip to content

The four caliphs

Ali ibn Abi Talib (RA)

علي بن أبي طالب

c. 600 CE - 40 AH / 661 CE; caliph 35-40 AH

On the timeline

Biography in English. Every statement carries its source; tap a source badge to see the reference.

Lineage
Son of Abu Talib and Fatimah bint Asad of Banu Hashim; cousin and son-in-law of the Prophet ﷺ.
Birth
In Makkah, about ten years before the prophethood (c. 600 CE). Reports that he was born inside the Ka'bah are found in al-Hakim's Mustadrak and accepted by Shia scholars; many Sunni scholars consider them weak.
Acceptance of Islam
Raised in the Prophet's household, he was the first child to accept Islam ().
Death
Struck with a poisoned sword by the Kharijite Abd al-Rahman ibn Muljam at dawn in the mosque of Kufa, Ramadan 40 AH (661 CE); he died two days later ().

Life

On the night of the Hijra he slept in the Prophet's bed to deceive the assassins and stayed to return the trusts left with the Prophet ﷺ (). He married Fatimah in 2 AH.

He fought at Badr in single combat (Sahih al-Bukhari 3965), at Uhud and the Trench, and at Khaybar the Prophet ﷺ gave him the flag: "a man who loves Allah and His Messenger and whom Allah and His Messenger love" (Sahih al-Bukhari 3701, 4210). He wrote the Treaty of al-Hudaybiyyah (Sahih al-Bukhari 2699).

When left in Madinah during Tabuk he was told: "Are you not pleased to be to me as Harun was to Musa, except that there is no prophet after me?" (Sahih al-Bukhari 4416; Sahih Muslim 2404). At Ghadir Khumm the Prophet ﷺ said: "Whoever I am his mawla, Ali is his mawla" (Jami' al-Tirmidhi 3713, sahih) and urged people to hold to the Book of Allah and his Ahl al-Bayt (Sahih Muslim 2408).

After the Saqifah he gave his pledge after six months (Sahih al-Bukhari 4240-4241) and advised the first three caliphs. Pledged caliph after Uthman's murder (35 AH), he fought the Camel, Siffin and Nahrawan (). The Prophet ﷺ had said Ammar would be killed by "the rebellious group" (Sahih al-Bukhari 447), and Ammar fell on Ali's side at Siffin; the Khawarij were killed by "the party nearer to the truth" (Sahih Muslim 1064-1065).

After his death the Umayyads had him cursed from pulpits for decades (Sahih Muslim 2404, 2409).

Role in spreading Islam

Among the first Muslims, a leading fighter, judge and scholar; fourth caliph who fought to keep the state united under one authority.

Among the first to believe; slept in the Prophet's bed on the night of the Hijra; carried the flag at Khaybar; scribe of Hudaybiyyah; fourth caliph who fought to keep the state united; later cursed from Umayyad pulpits for decades. (Sahih al-Bukhari 4210, 4416) (Sahih Muslim 2404, 2409)

Controversies and wrongs recorded

  • Not punishing Uthman's killers, many of whom were in his army, was the demand of his opponents at the Camel and Siffin; he said it had to wait until order was restored ().

Scholarly assessment

Sunni Muslims hold him the fourth rightly guided caliph and on the truth in his wars; Shia Muslims hold him the first Imam, designated by the Prophet ﷺ. Both love and honour him.

Disputed Where sources or scholars differ

  • Whether Ghadir Khumm was a designation of succession (Shia) or a declaration of love and support (Sunni).
  • The location of his grave: Najaf (Shia and most later sources) or elsewhere in Kufa (some early reports).

Key events on the timeline

Connections

Verified hadith about Ali ibn Abi Talib

  • Sahih al-Bukhari 3707 Sahih
    The Prophet ﷺ said to Ali: 'Are you not pleased to be to me as Harun was to Musa?'
  • Sahih Muslim 2404a Sahih
    Sahih Muslim: 'You are to me in the position of Harun to Musa, except that there is no prophet after me.'
  • Sahih al-Bukhari 3702 Sahih
    At Khaybar: 'Tomorrow I will give the flag to a man through whom Allah will grant victory' — it was given to Ali (narrated by Sahl ibn Sa'd).
  • Sahih Muslim 78 Sahih
    Ali said: the unlettered Prophet ﷺ assured me that none but a believer would love me and none but a hypocrite would hate me.
  • Jami` at-Tirmidhi 3713 Sahih (Darussalam)
    'Whomever I am his mawla, Ali is his mawla.'
  • Sahih al-Bukhari 441 Sahih
    The Prophet ﷺ found Ali sleeping in the mosque covered in dust and called him 'Abu Turab'.
  • Jami` at-Tirmidhi 3205 Sahih (Darussalam)
    The verse of purification (33:33) was revealed in Umm Salamah's house; the Prophet ﷺ covered Fatimah, Hasan, Husayn and Ali with a cloak.
  • Sahih Muslim 2424 Sahih
    Hadith al-Kisa': the Prophet ﷺ took Hasan, Husayn, Fatimah and Ali under his cloak and recited 33:33.
  • Sahih Muslim 2404d Sahih
    Mu'awiyah asked Sa'd ibn Abi Waqqas what prevented him from reviling Abu Turab (Ali); Sa'd cited three sayings of the Prophet ﷺ: the Harun-Musa hadith, the Khaybar banner, and the Mubahalah, when he gathered Ali, Fatimah, Hasan and Husayn saying 'O Allah, these are my family'.
  • Sahih al-Bukhari 3671 Sahih
    Muhammad ibn al-Hanafiyyah asked his father Ali who was best after the Prophet ﷺ; Ali said Abu Bakr, then 'Umar, and called himself just one of the Muslims.
  • Jami` at-Tirmidhi 3747 Sahih (Darussalam)
    The Ten promised Paradise (al-'Ashara al-Mubashsharah) named in one hadith narrated by 'Abd al-Rahman ibn 'Awf.
  • Sunan Abi Dawud 4649 Sahih (Al-Albani)
    Sa'id ibn Zayd testified that the Prophet ﷺ named ten people in Paradise.
  • Sahih al-Bukhari 447 Sahih
    While building the Prophet's mosque: 'May Allah have mercy on 'Ammar; the rebel (aggressor) group will kill him. He invites them to Paradise and they invite him to the Fire.' (narrated by Abu Sa'id al-Khudri)

More notes from the timeline record

Ali, son of Abu Talib, was raised in the Prophet's household and was among the first to accept Islam as a boy. On the night of the Hijra he slept in the Prophet's bed. He married Fatimah (2 AH) and fought at Badr, Uhud, the Trench and Khaybar, where the Prophet ﷺ gave him the banner, saying it would go to a man who loves Allah and His Messenger and whom Allah and His Messenger love (Sahih Bukhari; Sahih Muslim). When left in Madinah during Tabuk, he was told 'You are to me as Harun was to Musa, except that there is no prophet after me' (Sahih Bukhari; Sahih Muslim). At Ghadir Khumm the Prophet ﷺ urged care for his Ahl al-Bayt (Sahih Muslim, Zayd ibn Arqam) and said 'Whoever I am his mawla, Ali is his mawla' (Jami' al-Tirmidhi, graded authentic). He is included in Hadith al-Kisa (Sahih Muslim) and the Mubahalah (3:61; Sahih Muslim).

He served as adviser to the first three caliphs and became caliph after Uthman's assassination (35 AH). His caliphate saw the Battle of the Camel (36 AH), Siffin (37 AH) against Mu'awiyah's army, the arbitration, and the emergence of the Khawarij, whom he defeated at Nahrawan (38 AH). The Prophet ﷺ had said that Ammar would be killed by 'the rebellious group' (Sahih Bukhari 447); Ammar was killed fighting on Ali's side at Siffin, which Sunni scholars widely cite to hold that Ali was in the right. He was struck by the Kharijite Abd al-Rahman ibn Muljam in Kufa and died in Ramadan 40 AH.

Besides Hasan and Husayn (from Fatimah), his children include Zaynab and Umm Kulthum (from Fatimah) and Muhammad ibn al-Hanafiyyah, among others. After Fatimah's death he married Umamah bint Zaynab, the Prophet's granddaughter.

Sources

Method: Qur'an and Sahih hadith first, then the classical histories, with disputed reports labelled. Volume and page numbers of the histories are not given; al-Tabari is cited by year. Please check before citing.

Spotted a mistake? Report it and we will check it against the sources.