‹ Back to the gateway homeThe Prophetic Biography · 04 / 12

The Madinan years

Why fighting was permitted, the battles in numbers, all his campaigns, the ethics of war, the letters to kings, the conquest of Makkah, the Farewell Pilgrimage and his passing.

After thirteen years of patience

Why permission to fight was given

For thirteen years in Makkah the believers were tortured, killed, boycotted and driven from their homes, and they were commanded to be patient and not to fight back. Only after the Hijrah, when Quraysh continued its war against them, did Allah give permission to defend themselves.

The permission came with its reason and its limits: those who are fought because they were wronged may fight back; fighting is only against those who fight; and aggression is forbidden. The aim was to stop oppression and protect the freedom of people to hear the message, never to force anyone into Islam (Al-Baqarah 2:256).

﴿أُذِنَ لِلَّذِينَ يُقَـٰتَلُونَ بِأَنَّهُمْ ظُلِمُوا۟ ۚ وَإِنَّ ٱللَّهَ عَلَىٰ نَصْرِهِمْ لَقَدِيرٌ﴾

“Permission to fight has been given to those who are being fought, because they were wronged; and Allah is surely able to give them victory.”

Al-Hajj 22:39 — translation of the meaning
Ten years, about 1,300 lives

The battles of the Prophet ﷺ in numbers

All the battles and expeditions of the Prophet ﷺ over ten years together cost about 1,300 lives on both sides. Compare that with the tens of millions killed in the wars of the twentieth century.

1,284All battles and expeditions over ten years
262Muslim martyrs
1,022Opponents killed

Fallen in each battle

BelieversOpponents

  1. Badr
    14
    70
  2. Uhud
    70
    22
  3. The Trench (al-Khandaq)
    6
    3
  4. Al-Hudaybiyah
    0
    0
  5. Khaybar
    16
    93
  6. Mu’tah
    12
    ?
  7. The conquest of Makkah
    2
    12
  8. Hunayn
    4
    70
  9. Tabuk
    0
    0
BattleYearForcesFallen
Believers · Opponents
What happened
Badr2 AH · 624313 vs about 1,00014 · 70Quraysh came out to fight; the believers won. The 70 prisoners were treated kindly, and some were freed in exchange for teaching the children of Madinah to write (al-Bukhari 3986; Ahmad 2216).
Uhud3 AH · 625about 700 vs 3,00070 · 22Quraysh attacked Madinah to take revenge for Badr. The archers’ disobedience turned victory into a painful lesson (al-Bukhari 4043).
The Trench (al-Khandaq)5 AH · 627about 3,000 vs 10,0006 · 3A confederation of tribes besieged Madinah; a trench dug by the believers and a storm sent by Allah ended the siege almost without fighting.
Al-Hudaybiyah6 AH · 6281,400 pilgrimsNo fightingHe came only for pilgrimage and accepted a treaty with hard conditions to preserve peace; the Quran called it “a clear victory” (Al-Fath 48:1).
Khaybar7 AH · 628about 1,600 vs a fortified oasis16 · 93Khaybar had become the base of plotting against Madinah; after its conquest its people were allowed to stay and farm their land.
Mu’tah8 AH · 6293,000 vs a large Byzantine army12 · ?Sent after his envoy was killed; Khalid ibn al-Walid withdrew the army skilfully, saving it. The losses of the other side are not reliably recorded.
The conquest of Makkah8 AH · 63010,0002 · 12The city that had expelled him was taken almost without bloodshed, and he granted a general amnesty (Muslim 1780).
Hunayn8 AH · 63012,000 vs Hawazin4 · 70A surprise ambush was turned into victory; the captives were then freed at the Prophet’s request.
Tabuk9 AH · 630about 30,000No fightingThe largest army of his life marched to the Byzantine frontier; the enemy did not come, and treaties were signed without a fight.

Compare: the two World Wars killed about 85–107 million people

All battles and expeditions over ten years
1,284
The two World Wars
85–107 million

≈ 66,000 ×

The chart and table show the major battles only; the totals above cover all his battles and expeditions over ten years. Figures follow the main books of Sirah (Ibn Hisham, al-Waqidi, Ibn Sa‘d) and the reports of al-Bukhari; some vary slightly between sources. Total: Dr. Raghib al-Sirjani, “The Non-Bloodiness of the Prophet’s Wars”.

27 campaigns, 9 battles

All the campaigns he led ﷺ

Ibn Sa‘d counted twenty-seven campaigns that the Prophet ﷺ led himself; fighting took place in only nine of them. Most ended with treaties, or because the enemy dispersed without a battle:

#CampaignYearOutcome
1Waddan (al-Abwa’)2 AHTreaty, no fighting
2Buwat2 AHNo fighting
3Al-‘Ushayrah2 AHTreaty, no fighting
4The first Badr (Safawan)2 AHNo fighting
5Badr2 AHFighting took place
6Banu Sulaym (al-Kudr)2 AHNo fighting
7Banu Qaynuqa‘2 AHSiege, no battle
8As-Sawiq2 AHNo fighting
9Ghatafan (Dhu Amarr)3 AHNo fighting
10Bahran3 AHNo fighting
11Uhud3 AHFighting took place
12Hamra’ al-Asad3 AHNo fighting
13Banu an-Nadir4 AHSiege, no battle
14The last Badr (al-Maw‘id)4 AHNo fighting
15Dhat ar-Riqa‘5 AHNo fighting
16Dumat al-Jandal5 AHNo fighting
17Al-Muraysi‘ (Banu al-Mustaliq)5 AHFighting took place
18The Trench (al-Khandaq)5 AHFighting took place
19Banu Qurayzah5 AHFighting took place
20Banu Lihyan6 AHNo fighting
21Al-Ghabah (Dhu Qarad)6 AHNo fighting
22Al-Hudaybiyah6 AHPeace treaty
23Khaybar7 AHFighting took place
24The conquest of Makkah8 AHFighting took place
25Hunayn8 AHFighting took place
26At-Ta’if8 AHFighting took place
27Tabuk9 AHNo fighting, treaties

List and order after Ibn Sa‘d, at-Tabaqat al-Kubra; some historians differ on the dates of a few campaigns. Expeditions sent without him (sariyyahs) are not included.

Rules no army had known

The ethics of war in the Prophet’s teaching ﷺ

No women or children

«نَهَى رَسُولُ اللَّهِ ﷺ عَنْ قَتْلِ النِّسَاءِ وَالصِّبْيَانِ»

“The Messenger of Allah ﷺ forbade the killing of women and children.”

al-Bukhari 3015; Muslim 1744

No treachery or mutilation

«اغْزُوا وَلَا تَغُلُّوا، وَلَا تَغْدِرُوا، وَلَا تَمْثُلُوا، وَلَا تَقْتُلُوا وَلِيدًا»

“Fight, but do not steal from the spoils, do not betray, do not mutilate, and do not kill a child.”

Muslim 1731

Do not exceed the limits

﴿وَقَـٰتِلُوا۟ فِى سَبِيلِ ٱللَّهِ ٱلَّذِينَ يُقَـٰتِلُونَكُمْ وَلَا تَعْتَدُوٓا۟ ۚ إِنَّ ٱللَّهَ لَا يُحِبُّ ٱلْمُعْتَدِينَ﴾

“Fight in the way of Allah those who fight you, but do not transgress; Allah does not love transgressors.”

Al-Baqarah 2:190 — translation of the meaning

Peace whenever offered

﴿وَإِن جَنَحُوا۟ لِلسَّلْمِ فَٱجْنَحْ لَهَا وَتَوَكَّلْ عَلَى ٱللَّهِ﴾

“And if they incline to peace, then incline to it and rely upon Allah.”

Al-Anfal 8:61 — translation of the meaning

A message to all nations

The treaty of al-Hudaybiyah and the letters to the kings

The peace of al-Hudaybiyah (6 AH) opened the way: in two years of peace more people embraced Islam than in all the years before. The Prophet ﷺ then wrote to the rulers of the world.

Heraclius, Emperor of Byzantium

“Embrace Islam and you will be safe; Allah will give you a double reward” (al-Bukhari 7). Heraclius questioned Abu Sufyan and recognised the signs of a true prophet (see “Proofs of his prophethood”).

Chosroes, King of Persia

He tore the letter apart. The Prophet ﷺ said his kingdom would be torn apart; within years the Persian empire fell, and its treasures were spent in the path of Allah (al-Bukhari 3595).

The Negus of Abyssinia

The just king who had sheltered the Muslims honoured the letter.

Al-Muqawqis of Egypt

He answered courteously and sent gifts, among them Mariyah, who became the mother of the Prophet’s son Ibrahim.

Rulers of Arabia

Letters went to the kings of Bahrain, Oman, Yamamah and others; many of them embraced Islam.

﴿إِنَّا فَتَحْنَا لَكَ فَتْحًا مُّبِينًا﴾

“Indeed, We have given you a clear victory.”

Al-Fath 48:1 — translation of the meaning
Victory without revenge

The conquest of Makkah: the day of mercy

In 8 AH Quraysh broke the treaty by attacking the Prophet’s allies. He marched on Makkah with ten thousand believers, and the city that had persecuted him for thirteen years opened almost without a fight.

He entered with his head bowed so low in humility that it nearly touched his saddle. He announced: “Whoever enters the house of Abu Sufyan is safe; whoever closes his door is safe; whoever enters the Mosque is safe” (Muslim 1780). Those who had tortured his companions, killed his uncle Hamzah and driven him from his home were forgiven.

He purified the Ka‘bah from its 360 idols, striking them with a stick and reciting: “Truth has come and falsehood has vanished” (Al-Isra’ 17:81; al-Bukhari 4287). Bilal, the former slave, climbed onto the Ka‘bah and called the adhan.

﴿وَقُلْ جَآءَ ٱلْحَقُّ وَزَهَقَ ٱلْبَـٰطِلُ ۚ إِنَّ ٱلْبَـٰطِلَ كَانَ زَهُوقًا﴾

“And say: Truth has come and falsehood has vanished; indeed falsehood is ever bound to vanish.”

Al-Isra’ 17:81 — translation of the meaning
10 AH · 632

The Farewell Pilgrimage and its sermon

Life and property are sacred

«إِنَّ دِمَاءَكُمْ وَأَمْوَالَكُمْ حَرَامٌ عَلَيْكُمْ كَحُرْمَةِ يَوْمِكُمْ هَذَا»

“Your blood and your property are as sacred to one another as the sanctity of this day of yours.”

Muslim 1218

Kindness to women

«فَاتَّقُوا اللَّهَ فِي النِّسَاءِ»

“Fear Allah concerning women.”

Muslim 1218

No racism

«لَا فَضْلَ لِعَرَبِيٍّ عَلَى أَعْجَمِيٍّ… إِلَّا بِالتَّقْوَى»

“There is no superiority of an Arab over a non-Arab… except by righteousness.”

Ahmad 23489

The religion completed

﴿ٱلْيَوْمَ أَكْمَلْتُ لَكُمْ دِينَكُمْ وَأَتْمَمْتُ عَلَيْكُمْ نِعْمَتِى وَرَضِيتُ لَكُمُ ٱلْإِسْلَـٰمَ دِينًا﴾

“This day I have perfected your religion for you, completed My favour upon you and approved Islam as your religion.”

Al-Ma’idah 5:3 — translation of the meaning

12 Rabi‘ al-Awwal 11 AH · 632

His passing ﷺ

A few months after the Farewell Pilgrimage he fell ill. Even in his last days his concern was prayer and the weak: “The prayer, the prayer, and those whom your right hands possess” (Abu Dawud 5156).

He passed away in Madinah, in the house of ‘A’ishah, at the age of sixty-three. His last words were: “O Allah, the Highest Companion” (al-Bukhari 4463). He left behind no wealth: his armour was pawned with a Jewish man for some barley (al-Bukhari 2916).

When the people were shaken, Abu Bakr stood and said: “Whoever worshipped Muhammad, Muhammad has died; and whoever worships Allah, Allah is Ever-Living and never dies,” and he recited the verse below (al-Bukhari 3668).

﴿وَمَا مُحَمَّدٌ إِلَّا رَسُولٌ قَدْ خَلَتْ مِن قَبْلِهِ ٱلرُّسُلُ﴾

“Muhammad is not but a messenger; other messengers have passed on before him.”

Al ‘Imran 3:144 — translation of the meaning

Sections of this page

  1. Before the prophethood
    1. His life at a glance
    2. Arabia before Islam
    3. His noble lineage
    4. Birth and childhood
    5. The Truthful, the Trustworthy
  2. The Makkan years
    1. The first revelation
    2. The first believers
    3. Persecution and patience
    4. Migration to Abyssinia
    5. Boycott, sorrow and Ta’if
    6. The Night Journey in detail
  3. The Hijrah and Madinah
    1. Map of the Sirah
    2. The Hijrah
    3. Building Madinah
    4. The Prophet’s Mosque
  4. The Madinan years
    1. Why permission to fight came
    2. The battles in numbers
    3. All his campaigns
    4. The ethics of war
    5. Hudaybiyah and the letters
    6. The conquest of Makkah
    7. The Farewell Pilgrimage
    8. His passing
  5. His roles and status
    1. The man of every role
    2. Brother of all the prophets
    3. His names
    4. His unique status
    5. The Prophet in the Quran
  6. His character
    1. His appearance
    2. His character
    3. With people
    4. At home
    5. His worship
  7. The Sunnah and hadith
    1. What is the Sunnah?
    2. How the Sunnah was preserved
    3. Grades of hadith
    4. The great books of hadith
    5. Library of hadith
  8. A day with him
    1. A day with the Prophet ﷺ
    2. Your daily Sunnah tracker
    3. Blessings counter
    4. His comprehensive supplications
  9. Proofs of his prophethood
    1. Proofs of his prophethood
    2. Prophecies fulfilled
    3. Heraclius and Abu Sufyan
    4. Foretold in earlier scriptures
    5. Testimonies of non-Muslims
    6. More fair-minded voices
  10. His impact on humanity
    1. His life in numbers
    2. His life year by year
    3. His impact on humanity
    4. With people of other faiths
    5. A civilisation of knowledge
  11. Family and Companions
    1. The Mothers of the Believers
    2. His children
    3. His Companions
    4. Women around the Prophet ﷺ
  12. Following him today
    1. Loving him and sending blessings
    2. Sunnahs for every day
    3. Lessons for life
    4. Honest questions
    5. More honest questions
    6. Test yourself
    7. Glossary
    8. Sources