Muhammad to al-Waqidi, after Abd-Allah ibn Ubaiy spoke for them, Muhammad refrained from executing them and commanded that they be exiled from Medina. Following the Battle of Badr, Muhammad also made mutual-aid alliances with a number of Bedouin tribes to protect his community from attacks from the northern part of Hejaz. The Meccans were eager to avenge their defeat. To maintain economic prosperity, the Meccans needed to restore their prestige, which had been reduced at Badr. In the ensuing months, the Meccans sent ambush parties to Medina while Muhammad led expeditions against tribes allied with Mecca and sent raiders onto a
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