In brief: Yes. ʿAlī ibn Abī Ṭālib accepted Abū Bakr’s caliphate and supported him: he stood guard over Madinah during the wars of apostasy, urged Abū Bakr not to risk himself at Dhu’l-Qaṣṣah, and said that the best of this Ummah after its Prophet was Abū Bakr. Even the Shīʿī historian al-Yaʿqūbī records their cooperation.
ʿAlī was a sincere adviser to Abū Bakr during his caliphate. There are many signs of his sincerity to Abū Bakr, to Islam and to the Muslims, and of his keenness to protect the position of the caliphs and to uphold Muslim unity.
The war against the apostates
Ibn ʿUmar’s report
One clear sign is his advice when he heard that Abū Bakr was determined to go to fight the apostates in Dhul-Qissah and to lead the military campaign against them himself. ʿAlī recognised the danger that this posed to the survival of Islam.’ Ibn ʿUmar narrated that ʿAlī said [to Abū Bakr]:
“I shall say to you what the Messenger of Allah said on the day of Uḥud: ‘Keep your sword sheathed, and do not cause us grief by your loss.’ Go back to Madinah, for by Allah, if we were to lose you, Islam would never prosper after that.”
Abū Bakr then went back. If ʿAlī had been discontented with Abū Bakr’s caliphate and had given his oath of allegiance reluctantly this would have been a golden opportunity for him to take advantage of. He could have let Abū Bakr do what he wanted in the hope that he would be harmed, and then he would have been rid of him and would have had no obstacles in his way.
Al-Yaʿqūbī’s report
The Shīʿī historian al-Yaʿqūbī in his Taʾrīkh mentions the caliphate of Abū Bakr stating that: “Abū Bakr wanted to launch a campaign against the Byzantines, so he consulted a number of the Companions of the Messenger of Allah , but they had different views. Then he consulted ʿAlī ibn Abī Ṭālib who suggested that he should do it, saying: ‘If you do it, you will prevail.’ Abū Bakr said: ‘You have cheered me up.’ So Abū Bakr stood up to address the people and commanded them to prepare themselves for a campaign against the Byzantines.
Al-Yaʿqūbī also mentions that during the wars of apostasy, Abū Bakr ordered that Madinah be placed under guard, and he appointed troops to protect its gates and watch out for approaching armies. He appointed ʿAlī, al-Zubayr, Ṭalḥa and ʿAbdullāh ibn Masʿūd in charge of these guards. ʿAlī played an active and supportive role throughout Abū Bakr’s caliphate. For example, ʿAlī fought against Musaylimah in Yamāma (Juwayni- Irshād).
ʿAlī held that Abū Bakr was superior to him
There are many reports from ʿAlī indicating that he preferred and gave precedence to Abū Bakr (a). For example: Muḥammad ibn al-Ḥanafiyya said: “I said to my father: ‘Which of the people is best after the Messenger of Allah ?’ He said: ‘Abū Bakr.’ I said: ‘Then who?’ He said: “ʿUmar.’ I was afraid that he would say ʿUthmān next, so I said: ‘Then you?’ He said: ‘I am just one of the Muslims’ (al-Bukhārī).
ʿAlī testified to the great reward of ‘Abū Bakr with regard to collecting the Qur’an into one volume. It was narrated that ‘Abū Khayr said; “I heard ʿAlī say: ‘The greatest of the people in reward with regard to the mushhaf is Abū Bakr al-Ṣiddīq; he was the first one who collected it between two covers.”
ʿAlī also said:
“Shall I not tell you of the best of this Ummah after its Prophet? Abū Bakr. Then he said: “Shall I not tell you of the best of this Ummah after Abū Bakr ? ʿUmar.
Musnad Aḥmad Ṣaḥīḥ
The ahl al-Bayt loved Abū Bakr
The ahl al-Bayt honoured Abū Bakr by naming their sons, Abū Bakr. The first was ʿAlī who called one of his sons Abū Bakr. This son was born after the caliphate of Abū Bakr. It is inconceivable that ʿAlī would name his son after someone who had usurped his authority and deprived his wife of her inheritance. After ʿAlī, both Ḥasan and Ḥusayn named their sons Abū Bakr.
Conclusion
Ibn Taymiyya said: There are so many reports that they reached the level of mutawātir, and they state that Amīr al-Muʾminīn ʿAlī ibn Abī Ṭālib said: ‘The best of this Ummah after its Prophet is Abū Bakr, then ʿUmar.” This was narrated from him through many chains of narration. It was said that there were eighty such chains. It was also narrated from him that he said: “I will not be brought anyone who gives me precedence over Abū Bakr and ʿUmar, but that I will carry out the hadd punishment of the fabricator on him. (Minhāj al-Sunnah: 26.)
Summarised from Abū Bakr al-Ṣiddīq: His Life and Times. by ʿAlī M. Sallabi and additional sources.
Other spellings of names in this article: ʿUthmān (Uthman, Usman, Othman); ʿUmar (Umar, Omar); ʿAlī (Ali); Abū Bakr (Abu Bakr, Abu Bakar); Ḥusayn (Husayn, Hussain, Hussein); Ḥasan (Hasan, Hassan); Abī Ṭālib (Abi Talib); Bukhārī (Bukhari); Taymiyya (Taymiyyah, Taimiyah); Shīʿī (Shia, Shi’a, Shiite); Khawārij (Khawarij, Kharijites); Madinah (Medina); Qur’an (Quran, Koran).