Economically uprooted and with no available profession besides that of
arms, the Muslim migrants turned to raiding Meccan caravans for their
livelihood, thus initiating armed conflict between the Muslims and
Mecca. Muhammad delivered Qur'anic verses permitting the Muslims to
fight the Meccans (see Qur'an
22:39-40)
These attacks provoked and pressured Mecca by interfering with trade,
and allowed the Muslims to acquire wealth, power and prestige while
working toward their ultimate goal of inducing Mecca's submission to
the new faith. In March of
624,
Muhammad led some three hundred warriors in a raid on a Meccan merchant
caravan. The Muslims set an ambush for the Meccans at Badr. Aware of
the plan, the Meccan caravan eluded Muslims. Meanwhile a force from
Mecca was sent to protect the caravan. The force did not return home
upon hearing that the caravan was safe. The
battle of Badr began in March of
624.
Though outnumbered more than three to one, the Muslims won the battle,
killing at least forty-five Meccans and taking seventy prisoners for
ransom; only fourteen Muslims died. They had also succeeded in killing
many of the Meccan leaders, including
Abu Jahl.
Muhammad himself did not fight, directing the battle from a nearby hut
alongside Abu Bakr. In the weeks following the battle, Meccans visited
Medina in order to ransom captives from Badr. Many of these had
belonged to wealthy families, and were likely ransomed for a
considerable sum. Those captives who were not sufficiently influencal
or wealthy were usually freed without ransom, but after this battle
Muhammad decided that anyone who went unransomed would be killed.
Muhammad ordered the immediate execution of two men without
entertaining offers for their release. One of the men,
Uqba ibn Abu Mu'ayt,
had written verses about Muhammad, and the other had said that his own
stories about Persians were as good as the tales of the Qur'an.
The raiders had won much booty, and the battle helped to
stabilize the Medinan community. Muhammad and his followers saw in the
victory a confirmation of their faith. Muhammad also moved against
critics in Medina, ordering the assassination of first the poetess
Asma bint Marwan, then the poet
Abu Afak.
"After these events we may assume that there was little overt
opposition to Muhammad among the pagans," Watt states. Muhammad
expelled from Medina the
Banu Qaynuqa,
one of the three main Jewish tribes. He also made mutual-aid alliances
with a number of Bedouin tribes to protect his community from attacks
from the northern part of Hijaz.
The attack at Badr committed Muhammad to total war with Meccans, who were now anxious to avenge their defeat. To maintain their economic prosperity after the battle of Badr, the Meccans needed to restore their prestige, which had been lost at Badr. The Meccans sent out a small party for a raid on Medina to restore confidence. The party retreated immediately after a surprise and speedy attack but with minor damages; there was no combat. Later in the same year, Muhammad led three expeditions against the tribe of Sulaym who had close relations with Mecca and another tribe who had sent a strong force to help the Meccans with the aim of deterring them from supporting Mecca. Subsequently, the Meccans sent out a caravan by a route well east of Medina, but Muhammad found out and raided it. A few days later in the year
625, the
Meccan leader
Abu Sufyan marched on
Medina with three thousand men. They were accompanied by some prominent women of Mecca, such as
Hind bint Utbah, the wife of Abu Sufyan, who had lost family members at Badr. These women came and provided encouragement in keeping with Bedouin custom, calling out the names of the dead at Badr who must be avenged. Urged on by younger Muslims spirited by the victory at Badr and against the opinion of Muhammad,
Abdallah ibn Ubayy and some other senior men to last out the attack inside the town, Muhammad led his force outside and fought the
Battle of Uhud on
March 23, that ended in a Muslim defeat, with 75 Muslims killed. However, the Meccans failed to achieve their aim of destroying the Muslims completely. The Meccans did not occupy the town however and withdrew to Mecca because they could not attack on Muhammad's position again for military loss, low morale and possibility of Muslim resistance in the town. There was also hope that Abd-Allah ibn Ubayy leading a group of Muslims in Medina could be won over by diplomacy. Following the defeat, Muhammad's detractors in Medina said that if the victory at Badr was proof of the genuineness of his mission, then the defeat at Uhud was to be taken as a sign of the opposite. Muhammad subsequently delivered verses and which provided answers to these attacks.
In attempting to quash the opposition of the Muslims in Medina, Abu Sufyan established alliances with Bedouin tribes to secure sufficient support. Muhammad also contracted alliances with some groups and attacked others, increasing the wealth of himself and his followers with booty. He expelled the Jewish
Banu Nadir, confiscating their land and a large amount of military gear. On some of the raids against outlying tribes, the Muslims captured women. One of the women captured from the Banu al-Mustaliq tribe,
Juwayriyya, Muhammad married. She had agreed to this marriage after her captor refused to ransom her.
During this period, Muhammad's wife
Aisha was accused of adultery. Chief among her accusers was Muhammad's rival Ibn Ubayy. Muhammad was initially unsure whether or not she was guilty. He sought advice and counsel; his son-in-law
Ali made a disparaging remark about Aisha. Soon after verse was revealed, which exonerated Aisha, and stated that those who had falsely accused her would receive eighty lashes. This completed Ibn Ubayy's loss of political influence; he had been losing stature for some time.
Further assassinations had relieved Muhammad of the problems of influential enemies, and the expulsion of the Banu Nadir and neutralization of Ibn Ubayy secured his control of Medina. Abu Sufyan had not been idle, however, and had mustered a force much larger than the one Muhammad could command. In April
627, Abu Sufyan led this army in an attack on Medina. In the
Battle of the Trench, he could not overcome the defenders who had fortified the city by erecting a large embankment from dirt they had unearthed in the creation of a large ditch. Abu Sufyan's troops were unprepared for the fortifications they were confronted with, and after an ineffectual siege, the coalition decided to go home.