Skip to content

Article

Why did the Prophet ﷺ fight battles?

Thirteen years of patience in Makkah, a verse giving the wronged permission to defend themselves, and a code of war that protected women, children and monks.

8 min readSeerah questions

The Prophet ﷺ fought because a community that had been persecuted for thirteen years, driven from its homes and then attacked in its new city was given permission to defend itself. He did not fight to force belief: he fought under strict rules, accepted peace whenever it was offered, and ended his campaigns by forgiving the city that had fought him longest.

Thirteen years without striking back

For thirteen years in Makkah the Muslims were mocked, boycotted, beaten and in some cases killed for saying "Our Lord is Allah." You can read their story on the persecution of the believers and on the Prophet's ﷺ stoning at Ta'if. Through all of it, they did not fight back.

This was not because no one wanted to. Ibn Abbas reports that Abd al-Rahman ibn Awf and some companions came to the Prophet ﷺ in Makkah and said that they had been honoured as idolaters and humiliated as believers. He replied: "I have been commanded to pardon, so do not fight" (Sunan al-Nasa'i 3086, isnad graded sahih by al-Albani).

The point: the restraint was a command, not weakness. Muslims were told to endure, and they endured.

The first permission to fight

Everything changed after the Hijrah. When the Prophet ﷺ was driven out of Makkah, Abu Bakr said they had expelled their Prophet and would surely be ruined. Then Allah revealed:

> Permission to fight has been given to those who are being fought, because they were wronged. And indeed, Allah is competent to give them victory. [They are] 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... (Quran 22:39 to 40)

Ibn Abbas said this was the first verse revealed about fighting (Sunan al-Nasa'i 3085, isnad graded sahih by al-Albani). Jami' al-Tirmidhi 3171 records the same occasion, Abu Bakr's words and the revelation of the verse (al-Tirmidhi called it hasan; al-Albani graded its isnad sahih). Ibn Kathir records the same view from Mujahid, al-Dahhak, Urwah ibn al-Zubayr, Qatadah and others of the early generations in his tafsir of the verse.

Notice three things in the wording:

  • It is permission, not a command to attack. "Permission has been given."
  • The reason is wrong done to them: they were fought and expelled from their homes.
  • The goal includes protecting other faiths. The verse names monasteries, churches and synagogues before mosques. Explore the surah further on the Surah al-Hajj mind map.

Another verse sets the limit: "Fight in the way of Allah those who fight against you but do not transgress. Indeed, Allah does not like transgressors" (Quran 2:190). And another sets the exit: "If they incline to peace, then incline to it also and rely upon Allah" (Quran 8:61).

The battles in context

Badr (2 AH, 624 CE). Honesty matters here. The Prophet ﷺ went out towards a Quraysh trade caravan, at a time when the emigrants had been "expelled from their homes and their properties" (Quran 59:8). Ka'b ibn Malik reports that he "had gone out to meet the caravans of Quraysh, but Allah caused them to meet their enemy unexpectedly" (Sahih al-Bukhari 3951). The caravan escaped, and Quraysh marched out an army to fight. According to al-Bara ibn Azib, seventy of Quraysh were killed and seventy taken captive (Sahih al-Bukhari 3986).

Uhud (3 AH, 625 CE). Quraysh came to Madinah for revenge. After the battle Abu Sufyan called out that this day was for the day of Badr, and seventy Muslims were martyred (Sahih al-Bukhari 3986).

The Trench (5 AH, 627 CE). A confederate army besieged Madinah. The Muslims dug a trench and held. The Quran describes the end: "And Allah repelled those who disbelieved, in their rage, not having obtained any good. And sufficient was Allah for the believers in battle" (Quran 33:25). It is also the hardest episode to read: the Banu Qurayzah, bound by treaty with the Muslims, sided with the besiegers. Ibn Umar reports that Qurayzah fought against the Prophet ﷺ (Sahih al-Bukhari 4028). They agreed to accept the judgment of Sa'd ibn Mu'adh, who ruled that their fighting men be killed (Sahih al-Bukhari 4121). It was a wartime verdict on allies who had turned against the city, under terms they themselves accepted, not a model for treating a people for their religion. The Charter of Madinah explains the pact of mutual defence that bound Madinah's tribes.

Hudaybiyyah (6 AH, 628 CE). The Prophet ﷺ set out for umrah, not war. When his camel knelt on the way, he said: "By Him in whose hand my soul is, if they ask me for anything that respects the sanctities of Allah, I will grant it to them" (Sahih al-Bukhari 2731). He accepted terms that many companions found humiliating, because they brought peace. Allah says of that day: "It is He who withheld their hands from you and your hands from them within [the area of] Makkah" (Quran 48:24). See the Surah al-Fath mind map.

The conquest of Makkah (8 AH, 630 CE). Quraysh's allies broke the treaty, and the Prophet ﷺ marched on Makkah with a large army. Yet he announced safety for whoever entered the house of Abu Sufyan, laid down his arms or locked his door: "Whoever enters the house of Abu Sufyan will be safe" (Sahih Muslim 1780). The city that had persecuted him for thirteen years, and then fought him for six more, was entered with relatively little bloodshed (Sahih Muslim 1780 records that some who resisted were killed) and then forgiven. For one moving moment from that day, read No blame on you today.

Later campaigns at Khaybar, Hunayn and Tabuk followed the same pattern of threat and response; at Tabuk the enemy never came out to meet him.

The rules of war he set

The Prophet ﷺ placed limits on fighting that were remarkable in his world.

  • No killing women or children. Ibn Umar reports that a woman was found killed in one of the battles, "so Allah's Messenger ﷺ forbade the killing of women and children" (Sahih al-Bukhari 3015; Sahih Muslim 1744).
  • No treachery, no mutilation, no killing children. When he appointed a commander he would say: "Fight in the name of Allah and in the way of Allah... do not embezzle the spoils, do not break your pledge, do not mutilate, and do not kill the children" (Sahih Muslim 1731, from Buraydah).
  • Non-combatants are not targets. Seeing a woman killed on an expedition, he said "This is not one with whom fighting should have taken place," and sent word to Khalid ibn al-Walid not to kill a woman or a hired labourer (Sunan Abi Dawud 2669, graded hasan sahih by al-Albani; also Sunan Ibn Majah 2842, hasan sahih by al-Albani).
  • Leave the monks alone. He would tell his armies "do not kill children, nor the people of the hermitages" (Musnad Ahmad 2728). Its chain is weak, and Shu'ayb al-Arna'ut and his co-editors grade it hasan li-ghayrihi, meaning it is strengthened by supporting reports. A similar report from Anas forbidding the killing of an old man, child or woman (Sunan Abi Dawud 2614) is graded da'if by al-Albani, though its meaning is supported by the sahih reports above.
  • Do not wish for war. "Do not wish to face the enemy, and ask Allah to save you; but if you face the enemy, be patient" (Sahih al-Bukhari 2966; Sahih Muslim 1742).

Abu Bakr, his closest companion, passed the same ethic to his commanders: leave alone those who have devoted themselves to worship, do not kill women, children or the elderly, and do not cut down fruit trees (Muwatta Malik, Book of Jihad, report 10). This is Abu Bakr's own instruction, not a saying of the Prophet ﷺ, and its chain is broken: Yahya ibn Sa'id did not meet Abu Bakr, and Salim al-Hilali grades it mawquf da'if.

How many died?

There is no single total for all of the Prophet's ﷺ campaigns in the classical sources, and figures vary by report, so we give only what we can trace. At Badr seventy of Quraysh were killed; at Uhud seventy Muslims were martyred (Sahih al-Bukhari 3986). The Trench ended, in the Quran's words, with Allah sufficient for the believers in battle (Quran 33:25), and Hudaybiyyah ended with a treaty instead of a fight. Across a decade that reshaped Arabia, the numbers were small by any measure of war.

So was the Prophet ﷺ violent?

He was a man who refused to retaliate for thirteen years, fought only once permission came and only against those who fought him, wrote down rules that protected women, children and worshippers of other faiths, signed a peace many of his own followers resented, and forgave Makkah. For a fuller picture of the man, read the character of the Prophet ﷺ or start with who was Muhammad. To follow his life in order, open the seerah journey.

Sources

  • Quran 22:39 to 40, 2:190, 8:61, 33:25, 48:24, 59:8 (Sahih International meaning): https://quran.com/22/39-40, https://quran.com/2/190, https://quran.com/8/61, https://quran.com/33/25, https://quran.com/48/24, https://quran.com/59/8 (text checked via https://api.quran.com/api/v4/verses/by_key/22:39)
  • Ibn Kathir, Tafsir al-Quran al-Azim, on 22:39 (first verse on fighting): https://quran.com/22/39/tafsirs/en-tafisr-ibn-kathir
  • Sunan al-Nasa'i 3086 and 3085, with al-Albani's gradings: https://cdn.jsdelivr.net/gh/fawazahmed0/hadith-api@1/editions/eng-nasai/3086.json
  • Jami' al-Tirmidhi 3171: https://cdn.jsdelivr.net/gh/fawazahmed0/hadith-api@1/editions/eng-tirmidhi/3171.json
  • Sahih al-Bukhari 2731, 2966, 3015, 3951, 3986, 4028, 4121: https://cdn.jsdelivr.net/gh/fawazahmed0/hadith-api@1/editions/eng-bukhari/3015.json
  • Sahih Muslim 1731, 1742, 1744, 1780 (Fuad Abd al-Baqi numbering): https://cdn.jsdelivr.net/gh/fawazahmed0/hadith-api@1/editions/eng-muslim/4521.json
  • Sunan Abi Dawud 2669 and 2614, with al-Albani's gradings: https://cdn.jsdelivr.net/gh/fawazahmed0/hadith-api@1/editions/eng-abudawud/2669.json
  • Sunan Ibn Majah 2842: https://cdn.jsdelivr.net/gh/fawazahmed0/hadith-api@1/editions/eng-ibnmajah/2842.json
  • Musnad Ahmad 2728, al-Risalah edition, vol. 4, with the grading of Shu'ayb al-Arna'ut et al.: https://shamela.ws/book/25794/1971 and https://shamela.ws/book/25794/1972
  • Muwatta Malik, Book of Jihad, report 10 (Abu Bakr's instructions to Yazid ibn Abi Sufyan; graded mawquf da'if by Salim al-Hilali): https://cdn.jsdelivr.net/gh/fawazahmed0/hadith-api@1/editions/eng-malik/968.json

Questions & answers

Common questions

Short answers from this article.

Why did the Prophet Muhammad ﷺ fight wars?

He fought after the Muslims had endured thirteen years of persecution in Makkah without retaliation and had been driven from their homes. Quran 22:39 to 40 then gave permission to fight those who were fighting them, because they had been wronged. His major battles, such as Badr, Uhud and the Trench, were fought against Quraysh and their allies who were at war with Madinah.

Read more: Why did the Prophet ﷺ fight battles?

Was the Prophet ﷺ violent?

The record shows the opposite of a violent temperament. He forbade retaliation in Makkah (Sunan al-Nasa'i 3086), fought only after permission and against combatants, forbade killing women and children (Sahih al-Bukhari 3015), and banned treachery and mutilation (Sahih Muslim 1731). He signed the Treaty of Hudaybiyyah to secure peace and forgave the people of Makkah when he entered the city.

Read more: Why did the Prophet ﷺ fight battles?

What rules of war did the Prophet ﷺ set?

He forbade killing women and children, breaking pledges, stealing spoils and mutilating the dead. He sent word to Khalid ibn al-Walid to spare hired labourers, and a report in Musnad Ahmad, graded hasan li-ghayrihi, adds monks in their hermitages. The Quran adds that Muslims must not transgress and must accept peace when the enemy inclines to it (Quran 2:190 and 8:61).

Read more: Why did the Prophet ﷺ fight battles?

How many people died in the Prophet's ﷺ battles?

The classical sources give no single agreed total. Sahih al-Bukhari 3986 records seventy Quraysh killed at Badr and seventy Muslims martyred at Uhud. The Trench ended with the besiegers turned back and Allah sufficient for the believers in battle (Quran 33:25), Hudaybiyyah ended in a treaty, and Makkah was entered with relatively little bloodshed. By the standards of any era, the losses were small.

Read more: Why did the Prophet ﷺ fight battles?