Short answer
Abu Bakr, Umar, Uthman and Ali, and, in the count of scholars such as Ibn Kathir, Ali's son al-Hasan. The Prophet (ﷺ) said the caliphate of prophecy would last thirty years. Ali himself walked the road this page invites us to follow. He gave his pledge to Abu Bakr and to Uthman, and he asked Allah's (﷾) mercy for Umar when his body was laid out. When the people pledged to him in turn, he took office the same way, and he told the people of Iraq to keep judging as before. His son al-Hasan then made the peace the Prophet (ﷺ) foretold. Following Ali means following what Ali did.
Full explanation
Ali, loved by Allah (﷾) and His Messenger
Muslims love Ali. At Khaybar the Prophet (ﷺ) said he would give the flag to a man who loves Allah (﷾) and His Messenger. That man was Ali. Ali swore that the Prophet (ﷺ) had promised him that only a believer would love him. The Prophet (ﷺ) also told him he was to him as Harun was to Musa, except that no prophet comes after. This page asks only that we follow this man's own road.
Salama reports that Ali had stayed behind at the time of Khaybar because of eye trouble, then set out after the Prophet (ﷺ). On the eve of the conquest of Khaybar the Prophet said that the next day he would give the flag to a man who loves Allah and His Messenger, and that Allah would grant victory under his leadership. Ali arrived unexpectedly, the Prophet gave him the flag, and Allah granted victory under his leadership.
Ali swore by the One who splits the seed and creates life that the Prophet (ﷺ) had promised him that only a believer would love him, and only a hypocrite would hate him.
Sa'd ibn Abi Waqqas reports that the Prophet (ﷺ) said to Ali: you are to me as Harun was to Musa, except that there is no prophet after me. Sa'd affirmed emphatically that he heard it himself.
The Prophet (ﷺ) foretold thirty years
The Prophet (ﷺ) said that the caliphate of prophecy would last thirty years. After that Allah (﷾) gives the kingdom to whom He wills. The companion Safina, who reported it, counted Abu Bakr, Umar, Uthman and then Ali. When someone said that Ali was not a caliph, Safina rejected it strongly. So this report, graded hasan sahih, counts Ali among the rightly guided caliphs. The Qur'an speaks of authority given to believers who do right, and of the religion Allah (﷾) chose for them being established.
Safina reports that the Prophet (ﷺ) said the caliphate of prophecy will last thirty years, after which Allah gives the kingdom to whom He wills. Safina told the narrator to count Abu Bakr's caliphate as two years, Umar's as ten, Uthman's as twelve, and then Ali's. When it was said that some deny Ali was a caliph, Safina strongly rejected this.
“Allah has promised, to those among you who believe and work righteous deeds, that He will, of a surety, grant them in the land, inheritance (of power), as He granted it to those before them; that He will establish in authority their religion - the one which He has chosen for them; and that He will change (their state), after the fear in which they (lived), to one of security and peace: 'They will worship Me (alone) and not associate aught with Me. 'If any do reject Faith after this, they are rebellious and wicked.”
- First
Abu Bakr
Chosen by the people; Ali later gave him his pledge.
- Second
Umar
When his body was laid out, Ali asked Allah's (﷾) mercy for him.
- Third
Uthman
Chosen from the six Umar named; Ali gave him the pledge, then all Medina did.
- 656 to 661
Ali
Pledged to by the community after Uthman was killed; he ruled about four and a half years.
- 661
Al-Hasan
Ruled about six months, then made the peace the Prophet (ﷺ) foretold.
The Prophet (ﷺ) said the caliphate of prophecy would last thirty years.
"Hold to my Sunnah and the Sunnah of the rightly guided caliphs"
In a farewell exhortation the Prophet (ﷺ) told the companions to fear Allah (﷾), and warned that those who live after him would see much disagreement. He told them what to do. They should hold to his Sunnah and to the Sunnah of the rightly guided caliphs, and cling to it with their molars. They should avoid newly invented matters. That advice was given to the whole community.
Al-Irbad ibn Sariya reports a farewell exhortation of the Messenger of Allah (ﷺ), after which the eyes wept and the hearts trembled. He told them to fear Allah, to listen and obey, and warned of much disagreement to come. He said whoever lives will see it, so hold to my Sunnah and the Sunnah of the rightly guided caliphs, and beware of newly invented matters.
Ali and Abu Bakr
Ali was asked who the best people were after the Prophet (ﷺ). He named Abu Bakr first. In Sahih al-Bukhari, about six months after the Prophet's (ﷺ) death, once Fatima had died, Ali sent for Abu Bakr, and Abu Bakr came to him. Ali said that the family know his excellence and what Allah (﷾) has given him, and do not envy it, though they had thought they had a right in the matter because of their kinship to the Messenger (ﷺ). Abu Bakr wept and said that kindness to the Prophet's (ﷺ) relatives is dearer to him than kindness to his own. Ali then gave him his pledge. The Muslims were glad. When the people chose Abu Bakr, Umar said to him: you are our chief and the best of us. He added that Abu Bakr was the dearest of them to the Messenger (ﷺ).
Ali's son Ibn al-Hanafiyya asked his father who the best of people were after the Messenger of Allah (ﷺ). Ali answered Abu Bakr, then Umar. Afraid that Ali would name Uthman next, he asked: then you? Ali replied that he was only a man among the Muslims.
In a long report from Aisha, Ali, who had not given his pledge during the six months of Fatima's life after the Prophet's (ﷺ) death, seeks reconciliation with Abu Bakr once she has died. He sends for Abu Bakr, and Abu Bakr comes to him. Ali says the family know Abu Bakr's excellence and what Allah has given him, and do not envy it, but that Abu Bakr had not consulted them, and they had thought they had a right in the matter because of their kinship to the Messenger (ﷺ). Abu Bakr weeps and says that kindness to the relatives of the Messenger (ﷺ) is dearer to him than kindness to his own. Ali gives him his pledge of allegiance that afternoon and praises Abu Bakr's right in public. The Muslims are glad and draw close to Ali again. The same report begins with Fatima's request about her inheritance; that part is discussed on the page "Was Fatima angry with Abu Bakr?".
In Aisha's report of Fatima's request about her inheritance, Abu Bakr gives the Prophet's (ﷺ) words and says he will not change what the Messenger (ﷺ) did. Ali then says that they acknowledge Abu Bakr's superiority and mentions their own kinship to the Messenger (ﷺ). Abu Bakr answers that doing good to the relatives of the Messenger (ﷺ) is dearer to him than doing good to his own relatives.
Aisha reports that when the Prophet (ﷺ) died, Umar insisted he was not dead. Abu Bakr came, kissed the Prophet's face, then told the people that whoever worshipped Muhammad should know Muhammad was dead, and whoever worshipped Allah should know Allah is alive and never dies. He recited 39:30 and 3:144, that Muhammad is no more than a messenger, and the people wept.
The same entry as 3667, which gives the scene at the shed of Banu Sa'ida. Some of the Ansar, the Muslims of Medina, said there should be one leader from them and one from the emigrants. Abu Bakr answered that the emigrants of Quraysh were the best family among the Arabs, and told them to choose Umar or Abu Ubayda. Umar answered that they chose Abu Bakr, their chief, the best of them and the dearest of them to the Messenger of Allah (ﷺ), took his hand and pledged, and the people pledged after him.
Ali and Uthman
When Umar was dying he named six men to choose among themselves. Ali was one of them. The choice came down to Uthman and Ali. Abd al-Rahman ibn Awf asked each to promise to do justice if chosen. He asked each to listen and obey the other if the other was chosen. Both agreed. When Uthman was chosen, Ali gave him the pledge of allegiance, and then all the people of Medina did.
In the long report of Umar's death, Umar names six men to choose among themselves. The choice comes down to Uthman and Ali, and Abd al-Rahman ibn Awf asks each in turn to promise that he will do justice if chosen, and listen and obey the other if the other is chosen. Both agree. Abd al-Rahman pledges to Uthman, and Ali gives him the pledge of allegiance, then all the people of Medina do.
Ali and Umar
When Umar died and his body was laid out, Ali came and asked Allah's (﷾) mercy for him. He said that no one's deeds were dearer to him to meet Allah (﷾) with than Umar's. He said he had always thought Allah (﷾) would place Umar with his two companions. He often heard the Prophet (ﷺ) say: I, Abu Bakr and Umar went. Ali's daughter Umm Kulthum was Umar's wife.
Ibn Abbas reports that when Umar's body was laid out and the people prayed for him, Ali came, asked Allah's mercy for Umar and said that no one's deeds were dearer to him to meet Allah with than Umar's. Ali said he had always thought Allah would place Umar with his two companions, because he often heard the Prophet (ﷺ) say: I, Abu Bakr and Umar went; I, Abu Bakr and Umar entered.
Umar divided garments among the women of Medina, and one good garment was left. A man told him to give it to his wife, the granddaughter of the Messenger of Allah (ﷺ), meaning Umm Kulthum, the daughter of Ali. Umar gave it to Umm Salit instead, a woman of the Ansar who had carried water-skins for the Muslims at Uhud.
Ali was at first reluctant
After Uthman was killed in 656, the people thronged to Ali and asked to pledge to him. Al-Tabari records that he at first declined, and accepted only when the people pressed him.
Al-Tabari records that after Uthman was killed the people thronged to Ali and asked to pledge to him, saying they feared for Islam. Ali at first declined, and the people raised their voices and urged him until he accepted.
Ali took office the same way
A delegation of the Muhajirun and the Ansar asked him to accept, and he refused. The companions sent them back to press him harder, and he accepted. The Muslims then took the oath of allegiance to him. So Ali became caliph as the others had: by the pledge of the community. He ruled for about four and a half years, from June 656 to January 661. Ali accepted, served and praised the caliphs before him, then took office the same way. Those who love him can walk the same road.
Describes how, after Uthman was killed, a delegation of the Muhajireen and the Ansar asked Ali to accept the caliphate and he refused. The companions sent the delegation back to press him harder, and he accepted on conditions of his own. The Muhajireen, the Ansar and the people then took the oath of allegiance to him. Razwy says the community of Muhammad (ﷺ) "drafted" Ali, and quotes Gibbon that he declared he had rather serve than reign.
Al-Tabari records that after Uthman was killed the people thronged to Ali and asked to pledge to him, saying they feared for Islam. Ali at first declined, and the people raised their voices and urged him until he accepted.
Ali kept what had been done
When Ali ruled, he told the people of Iraq to judge as they used to judge, because he disliked disagreement. He wished to work until the people united, or until he died as his companions had died. He chose continuity and unity over a break with the past.
Ubayda reports that Ali told the people of Iraq to judge as they used to judge, because he disliked disagreement, until the people united as one group or he died as his companions had died.
How Ali died
Ali was killed in January 661 by Abd al-Rahman ibn Muljam. Ibn Muljam was a Kharijite, one of the group that had broken away from Ali and fought him. He struck Ali with a poisoned sword in the mosque of Kufa during the morning prayer. The blow was fatal. Muslims mourn him.
Describes how Abd al-Rahman ibn Muljam, a Kharijite, struck Ali with a poisoned sword. It was the morning of 19 Ramadan 40 AH, in the great mosque of Kufa, as Ali rose from prostration in the prayer. The blow was fatal. Razwy writes that no one questions that Ibn Muljam killed Ali, and says Ibn Muljam had escaped when the Kharijites were defeated at Nahrawan; the main account in al-Tabari instead has him plotting in Mecca to avenge those killed there.
Al-Hasan, the peacemaker
After Ali's death the people pledged to his son al-Hasan, who ruled for about six months. Then he chose peace over war to unite the Muslims. The Prophet (ﷺ) had foretold it. In Sahih al-Bukhari he stood on the pulpit with al-Hasan beside him. He said: this son of mine is a sayyid, a noble leader. Allah (﷾) may make peace through him between two great groups of Muslims. The Prophet (ﷺ) loved him and asked Allah (﷾) to love him. Scholars such as Ibn Kathir and al-Qadi Iyad count al-Hasan's months as completing the thirty years.
Al-Hasan al-Basri reports that al-Hasan ibn Ali led armies like mountains against Mu'awiya, and Amr ibn al-As warned that they would not turn back until they had killed their opponents. Mu'awiya asked who would be left to care for the people, their women and their children if the two sides destroyed each other, and sent two men of Quraysh to offer peace. To every condition al-Hasan asked for they answered that they would stand guarantee for it, and al-Hasan made peace with Mu'awiya. The narrator then recalls the Prophet's (ﷺ) words from the pulpit about al-Hasan making peace between two great groups of Muslims.
Al-Bara reports that he saw the Prophet (ﷺ) carrying al-Hasan on his shoulder and saying: O Allah, I love him, so love him.
Explains that the thirty years of the caliphate of prophecy are counted as the rule of Abu Bakr, Umar, Uthman and Ali, together with the six-month caliphate of al-Hasan ibn Ali, and names Ibn Kathir (al-Bidaya), al-Qadi Iyad (al-Shifa), Ibn Hajar al-Haytami and Ibn Abi al-'Izz among the scholars who say so.
Leadership and the Prophet's (ﷺ) family
The Prophet (ﷺ) praised in advance the peace by which his own grandson al-Hasan gave up rule for the sake of unity. Their honour is real, and it does not depend on rule.
Al-Hasan al-Basri reports that al-Hasan ibn Ali led armies like mountains against Mu'awiya, and Amr ibn al-As warned that they would not turn back until they had killed their opponents. Mu'awiya asked who would be left to care for the people, their women and their children if the two sides destroyed each other, and sent two men of Quraysh to offer peace. To every condition al-Hasan asked for they answered that they would stand guarantee for it, and al-Hasan made peace with Mu'awiya. The narrator then recalls the Prophet's (ﷺ) words from the pulpit about al-Hasan making peace between two great groups of Muslims.
Al-Bara reports that he saw the Prophet (ﷺ) carrying al-Hasan on his shoulder and saying: O Allah, I love him, so love him.
Perspectives
Some Muslims believe the Prophet (ﷺ) named Ali alone as his successor
Some Muslims, from love of Ali, hold that the Prophet (ﷺ) appointed him as his only successor. They hold that the caliphs before him took what was his right. They bring these arguments.
The Prophet (ﷺ) said: of whomever I am the mawla, Ali is his mawla. This appointed Ali as leader.
Rebuttal
Mawla means close friend or helper. When Buraida disliked Ali, the Prophet (ﷺ) answered that he deserved more. Ali himself later pledged to Abu Bakr and named him the best after the Prophet (ﷺ).
Ali never truly pledged to Abu Bakr, or did so only under pressure.
Rebuttal
In Sahih al-Bukhari, Ali himself sent for Abu Bakr, praised his right and pledged. The Muslims were glad. Ali also named Abu Bakr the best after the Prophet (ﷺ).
The first caliphs took what was Ali's right, so they were not rightly guided.
Rebuttal
The sound report on the thirty years counts them with Ali. Ali served under them, pledged to Uthman, asked Allah's (﷾) mercy for Umar and kept their judgments.
Leadership belongs to the Prophet's (ﷺ) family alone.
Rebuttal
The Prophet (ﷺ) praised in advance the peace by which his own grandson al-Hasan gave up rule for the sake of unity. Ali himself pledged to Abu Bakr and to Uthman, and took office by the pledge of the community. Honour for the family does not depend on rule.
The Islamic perspective
The rightly guided caliphs are Abu Bakr, Umar, Uthman and Ali, and, in the count of scholars such as Ibn Kathir, al-Hasan. Ali pledged to those before him, praised them, kept their judgments and took office the same way.
The Prophet (ﷺ) said the caliphate of prophecy would last thirty years, and the report counts Ali among them.
The Prophet (ﷺ) told us to hold to his Sunnah and the Sunnah of the rightly guided caliphs.
Ali gave his pledge to Abu Bakr and to Uthman.
Ali named Abu Bakr and Umar the best after the Prophet (ﷺ). When Umar died, Ali asked Allah's (﷾) mercy for him.
Ali told the people of Iraq to judge as they used to, because he disliked disagreement.
Ali became caliph by the pledge of the community, after at first declining, and a Kharijite killed him in 661.
Al-Hasan's peace fulfilled the Prophet's (ﷺ) words that Allah (﷾) would make peace through him.
Scholars such as Ibn Kathir and al-Qadi Iyad count al-Hasan's months as completing the thirty years.