The Sunnis believe that Muhammad had no rightful heir and that a religious leader should be elected through a vote among the Islamic community's people. They believe that Muhammad's followers chose Abu Bakr, Muhammad's close friend and advisor, as his successor.