Battle of Badr In 622, Muhammad bade many of his followers to migrate from Mecca to the neighboring city of Medina, 320 km (200 mi) north of Mecca. Shortly thereafter, Muhammad himself left for Medina. This migration is referred to as the "Hijra". The Quranic Verse 22:39 uttered by Muhammad sometime shortly after the migration permitted Muslims, for the first time, to take up arms in defence. During this period Muhammad employed three broad military strategies against the Meccans. Firstly, to establish peace treaties with the tribes surrounding Medina, especially with those from whom the Meccans could derive most advantage against the Muslims.
Military career of Muhammad in their favour. Afterwards the two armies exchanged arrow fire, before finally clashing. According to the Quran, thousands of angels descended from heaven and participated in the battle, being instructed by Allah to "smite the [Meccan warrior's] necks and smite of them each finger." According to another Quranic verse, Allah fought and killed the Meccans representatively for the Muslim warriors. The Meccan army eventually collapsed soon after the horse of Abu Jahl was brought down, resulting in the first major Muslim victory. This victory must not so much be ascribed to divine intervention as is done in the Islamic sources,