The Armed Struggle Between Makkah and Madinah: From Badr to the Conquest (UK Seerah Guide)
By eaalim manager on 12/22/2025
From the second year after Hijrah (2 AH / 624 CE) until the Conquest of Makkah in 8 AH (630 CE), the young Muslim community in Madinah faced a series of military confrontations with Quraysh of Makkah. This article walks British Muslim readers through the major battles — Badr, Uhud, Khandaq, Hudaybiyyah, Khaybar, and the Conquest of Makkah — with brief context, the Quranic ayahs revealed in connection with each, and what British Muslim families can responsibly take from this military Seerah without distorting it.
Editorial note: classical Muslim scholarship has always discussed these battles within their historical context — defensive engagements against an aggressive enemy, fought under specific 7th-century Arabian rules of warfare, and now superseded by the actions of established Muslim states and treaties. We present them as essential history, not as a manual for individual conduct.
Why the wars happened
Quraysh did not let the Muslims simply leave Makkah and live in peace in Madinah. The Makkan elite confiscated the Muhajireen's properties, harassed Muslim caravans, and made repeated attempts to crush the new community before it could establish itself. The first 18 months in Madinah were spent under constant threat. Allah revealed permission to fight in self-defence:
"Permission is given to those who are being fought, because they have been wronged. And indeed, Allah is competent to give them victory" (Surah Al-Hajj 22:39).
This ayah is the foundational text of the Islamic ethic of just war. It frames every subsequent battle: defence, not aggression; permission, not obligation; with strict rules limiting whom may be fought (combatants only), when (in genuine response to attack), and how (without harming non-combatants, places of worship, or the natural environment).
The Battle of Badr (2 AH / 624 CE)
The first major military engagement. A Muslim force of 313 men, lightly armed, met a Quraysh army of about 1,000 warriors, fully equipped, near the wells of Badr. The Muslims won decisively. The Quran calls Badr "the day of the criterion" — the day Allah distinguished truth from falsehood (Surah Al-Anfal 8:41).
British Muslim takeaway: numbers and equipment do not determine outcomes; sincerity and divine support do. This is a comfort for any British Muslim feeling outnumbered in their school, workplace, or wider society.
The Battle of Uhud (3 AH / 625 CE)
Quraysh returned the following year for revenge with 3,000 warriors against a Muslim force of 700. Initially the Muslims were winning, but a group of archers abandoned their position to collect spoils, against the Prophet's ﷺ direct order. Quraysh cavalry exploited the gap, and the Muslims took heavy casualties — including the Prophet's uncle Hamza ibn Abdul-Muttalib (RA), one of the greatest companions.
The lesson Allah taught through Uhud: discipline matters more than enthusiasm. Surah Aal-Imran 3:152-155 was revealed in direct response. British Muslim takeaway: every community has its high moments and its lapses. What matters is the institutional discipline that prevents the lapses from becoming defeats.
The Battle of Khandaq / The Trench (5 AH / 627 CE)
Quraysh allied with several other tribes to gather an army of 10,000 to besiege Madinah and finish the Muslims. The Persian companion Salman al-Farsi (RA) suggested digging a defensive trench around the exposed parts of Madinah. The trench held; the alliance broke up after a long siege; the Muslims emerged stronger.
British Muslim takeaway: practical wisdom from any culture or background, when applied within Islamic ethics, is welcome. Salman was Persian, not Arab, but his suggestion saved the city. British Muslim institutions benefit from the diverse expertise of converts, second-generation professionals, and migrants from across the world.
The Treaty of Hudaybiyyah (6 AH / 628 CE)
A turning point that did not involve a battle. The Prophet ﷺ marched towards Makkah with 1,400 companions to perform Umrah. Quraysh blocked them. After tense negotiations, both sides agreed a 10-year truce. The terms looked humiliating to many companions at the time, but the Quran called it "a clear victory" (Surah Al-Fath 48:1) because it stopped the bleeding and gave Muslims the freedom to spread Islam by da'wah.
In the two years following Hudaybiyyah, more people accepted Islam than in all the previous years combined. British Muslim takeaway: short-term diplomatic compromises that preserve long-term gains are not weakness but wisdom. Negotiation, treaties, and patience are part of the Sunnah.
The Battle of Khaybar (7 AH / 628 CE)
Khaybar was a series of fortified Jewish settlements 150km north of Madinah, which had been hosting Quraysh allies and harassing Muslim trade routes. The Muslims took the forts in succession and reached an agreement under which the Khaybar Jews continued to farm the land and paid an agreed share of produce as tribute — an early model of religious autonomy under Islamic governance.
The Conquest of Makkah (8 AH / 630 CE)
When Quraysh broke the Hudaybiyyah treaty by attacking an ally of the Muslims, the Prophet ﷺ marched on Makkah with 10,000 companions. The city surrendered without a fight. The Prophet ﷺ entered Makkah with his head bowed in humility, declared a general amnesty ("Go, you are free" — "Idhhabu fa antum at-tulaqaaʾ"), and forgave the Quraysh leadership who had opposed him for 21 years.
British Muslim takeaway: power without mercy is tyranny; mercy without power is irrelevance. The Prophet ﷺ taught that Islam combines both. Forgiveness in moments of strength is a Sunnah, not a sentimentality.
What British Muslim families can take from the military Seerah
- Defence is permitted; aggression is forbidden. Every battle was a response to prior Quraysh aggression.
- Discipline outranks enthusiasm. Uhud was lost when discipline broke.
- Diverse expertise wins battles. Salman al-Farsi's trench saved Madinah.
- Treaties and diplomacy are Sunnah. Hudaybiyyah achieved more than Badr.
- Mercy in victory defines Muslim character. The Conquest of Makkah is not a story of revenge but of forgiveness.
Continue your UK Seerah study
This piece follows our Madinan Society Seerah guide. To learn the Madinan-period Quranic ayahs that were revealed in connection with these battles — Surah Al-Anfal, Surah Aal-Imran, Surah Al-Ahzab, Surah Al-Fath — book a one-to-one Eaalim online lesson. Al-Azhar certified teachers, GMT/BST, in pounds, free 30-minute trial. Start here.
Frequently asked questions
Start your journey with Eaalim today!
Start Free TrialFrequently Asked Questions
Classical sources count around 27 ghazwah (campaigns the Prophet personally led, whether or not actual fighting occurred) and around 60 sariyyah (smaller expeditions led by companions on his behalf). Of the 27 ghazwah, only about 9 involved actual combat. The major engagements were Badr, Uhud, Khandaq, Banu Qurayza, Hudaybiyyah-Umrah, Khaybar, Mu'tah (Mu'tah was a sariyyah), the Conquest of Makkah, Hunayn, and Tabuk.
Because permission to fight was given only after the Muslims had a viable state to govern in Madinah, after years of unanswered Quraysh aggression, and because pure non-resistance would have led to the destruction of the entire community. The Quran's permission verse (Al-Hajj 22:39) emphasises the defensive ethic. Earlier, in Makkah, the Muslims were a small minority without a state — armed resistance would have been suicidal and would have ended Islam in its cradle.
Yes, according to all major classical sources. The Muslim force was around 313 lightly armed men with around 70 camels and 2 horses. The Quraysh force was around 1,000 fully equipped warriors with 700 camels and 100 horses. The decisive Muslim victory is described in detail in Surah Al-Anfal (chapter 8 of the Quran) and in the Seerah works of Ibn Ishaq, Ibn Hisham, and al-Waqidi.
Salman al-Farsi was a Persian convert to Islam, originally Zoroastrian, who travelled extensively before reaching the Prophet (peace be upon him) in Madinah. At the Battle of Khandaq (the Trench) in 5 AH, when an army of 10,000 was approaching to besiege Madinah, Salman suggested the Persian military tactic of digging a defensive trench around the exposed parts of the city. The trench held; the alliance broke up. The Prophet (peace be upon him) said of him: 'Salman is from the people of my house' — one of the highest honours given to any companion.
Ten years. It was broken by Quraysh in less than two years when their allies (Banu Bakr) attacked Muslim allies (Banu Khuza'a) and Quraysh tacitly supported it. The Prophet (peace be upon him) responded by marching on Makkah, leading to the Conquest in 8 AH (630 CE). Despite being broken early, Hudaybiyyah's two years gave the Muslims a freedom to spread Islam that the wars had never allowed.
He addressed the Quraysh, who had opposed him for 21 years, asking 'What do you think I will do with you?' They replied: 'Good. A noble brother, son of a noble brother.' He then declared: 'Go, you are free' (Idhhabu fa antum at-tulaqaaʾ). This general amnesty included even people who had personally fought him. Only a handful of named individuals (war criminals, blasphemers of the Prophet, and one or two others) were excluded — and even most of those were later pardoned.
Through structured Seerah lessons in age-appropriate language. For under-10s, focus on character lessons (forgiveness at Makkah, discipline at Uhud, wisdom at Hudaybiyyah). For 11-14s, add the historical context, the names of major companions, and the Quranic ayahs revealed in connection. For 15+ teenagers, engage with the ethical questions (rules of war, treatment of prisoners, treaty obligations) — the same questions discussed in classical Islamic scholarship for centuries. Eaalim teachers cover these topics gently in our Quran lessons.
Some are foundational principles — protection of non-combatants, prohibition on harming places of worship, environmental restraint, treaty observance — which classical Islamic law preserved and which align with modern international humanitarian law. The specific tactical practices (cavalry, sieges, raids on caravans) are obviously bound to their 7th-century context. Modern Muslim states engage through international treaties, diplomacy, and standing armies — institutional warfare, not individual action. British Muslims should not derive personal conduct from battle accounts; that has never been the way classical Islamic scholarship read them.
Surah Al-Anfal (chapter 8) covers the Battle of Badr and lays out core principles of warfare ethics. Surah Aal-Imran (chapter 3) addresses Uhud and the lessons of discipline and trust in Allah after defeat. Surah Al-Ahzab (chapter 33) covers Khandaq. Surah Al-Fath (chapter 48) covers Hudaybiyyah. Surah Al-Tawbah (chapter 9) covers later expeditions and treaty law. Studying these with proper tafsir under an Al-Azhar trained teacher is the right approach.
Answer with the Quranic framing: defence, not aggression. Walk them through the timeline — 13 years of patient da'wah in Makkah while being persecuted; migration to Madinah after assassination plot; Quraysh continuing to attack; permission to fight given only when the community had a state and an organised aggressor; rules of war that were more humane than any contemporary practice. Avoid both apologetics ('Islam never fought') and provocation ('Islam loves war'). The truthful answer is: Islam permits just defence, prohibits aggression, and the Prophet (peace be upon him) personally embodied mercy in victory.