section_path: Medinan years/Beginning of armed conflict
section_name: Beginning of armed conflict
paragraph_text: Beginning of armed conflict
  
  Following the emigration, the people of Mecca seized property of Muslim emigrants to Medina. War would later break out between the people of Mecca and the Muslims. Muhammad delivered Quranic verses permitting Muslims to fight the Meccans. According to the traditional account, on 11 February 624, while praying in the Masjid al-Qiblatayn in Medina, Muhammad received revelations from God that he should be facing Mecca rather than Jerusalem during prayer. Muhammad adjusted to the new direction, and his companions praying with him followed his lead, beginning the tradition of facing Mecca during prayer.
  
  Permission has been given to those who are being fought, because they were wronged. And indeed, Allah is competent to give them victory. Those who have been evicted from their homes without right—only because they say, "Our Lord is Allah." And were it not that Allah checks the people, some by means of others, there would have been demolished monasteries, churches, synagogues, and mosques in which the name of Allah is much mentioned. And Allah will surely support those who support Him. Indeed, Allah is Powerful and Exalted in Might.
  
  — Quran (22:39–40)
  
  Muhammad ordered a number of raids to capture Meccan caravans, but only the 8th of them, the Raid of Nakhla, resulted in actual fighting and capture of booty and prisoners. In March 624, Muhammad led some three hundred warriors in a raid on a Meccan merchant caravan. The Muslims set an ambush for the caravan at Badr. Aware of the plan, the Meccan caravan eluded the Muslims. A Meccan force was sent to protect the caravan and went on to confront the Muslims upon receiving word that the caravan was safe. Due to being outnumbered more than three to one, a spirit of fear ran throughout the Muslim camp; Muhammad tried to boost their morale by telling them he had a dream in which God promised to send 1,000 angels to fight with them. From a tactical standpoint, Muhammad placed troops in front of all of the wells so the Quraysh would have to fight for water, and positioned other troops in such a way that would require the Quraysh to fight uphill while also facing the sun. The Battle of Badr commenced, and the Muslims ultimately won, killing at least forty-five Meccans with fourteen Muslims dead. They also succeeded in killing many Meccan leaders, including Abu Jahl. Seventy prisoners had been acquired, many of whom were ransomed. Muhammad and his followers saw the victory as confirmation of their faith and Muhammad ascribed the victory to the assistance of an invisible host of angels. The Quranic verses of this period, unlike the Meccan verses, dealt with practical problems of government and issues like the distribution of spoils.
  
  The victory strengthened Muhammad's position in Medina and dispelled earlier doubts among his followers. As a result, the opposition to him became less vocal. Pagans who had not yet converted were very bitter about the advance of Islam. Two pagans, Asma bint Marwan of the Aws Manat tribe and Abu 'Afak of the 'Amr b. 'Awf tribe, had composed verses taunting and insulting the Muslims. They were killed by people belonging to their own or related clans, and Muhammad did not disapprove of the killings. This report, however, is considered by some to be a fabrication. Most members of those tribes converted to Islam, and little pagan opposition remained.
  
  Muhammad expelled from Medina the Banu Qaynuqa, one of three main Jewish tribes, but some historians contend that the expulsion happened after Muhammad's death. According 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.