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.
Battle of Uhud opposition from the rest of the Quraysh, the tribe that ruled Mecca and to which he belonged. The Muslims fled Mecca in 622 after years of persecution and established themselves at Medina (formerly known as "Yathrib"; Medina means "City"). The Quraysh had seized the properties and families of Muslims in Mecca and dispatched caravans to Damascus which the Muslims intercepted and raided. The Meccans sent out a small army to punish the Muslims and stop their raiding. At the Battle of Badr in 623, a small Muslim force defeated the much larger Meccan army. Many Muslims considered this unexpected victory