Arrange the events in the order in which they happened

Answer:
Muhammad created the first Muslim community.
Muhammad received his first message from God while mediating in a cave.
Muhammad moved from Mecca to Medina with his followers.
Abu Bakr became the leader of Lslam the leader of Islam after Muhammad.
Explanation: