Ridda wars
With Muhammad's death in 632, disagreement broke out over who would succeed him as leader of the Muslim community. Abu Bakr, Muhammad's companion and close friend, was made the first caliph. Under Abu Bakr, Muslims put down a rebellion by Arab tribes in an episode known as the Ridda wars or "Wars of Apostasy". The Quran was compiled into a single volume at this time.