After Muhammad's death in AD 632, disagreement broke out over who should succeed him as leader of the Muslim community., Abu Bakr was elected the first caliph by the Muslim community and they recognize the first four caliphs as Muhammad's successors.