This is a list of people who did not pledge allegiance to Abu Bakr. Ali had been widely expected to succeed Muhammad upon his death, due to their closeness and Muhammad's stated preference. As he performed Muhammad's funeral rites, a group of Companions of the Prophet left and proclaimed Abu Bakr as the caliph, while others remained loyal.