The Trench, Hudaybiyyah & Letters to Kings (5–7 AH)
Ten thousand confederates besiege Madinah — Salman’s trench, the storm that scattered them; Banu Qurayza’s treachery judged; Hudaybiyyah’s “clear victory” truce; then letters to Heraclius, Khosrow and the Muqawqis.
Also searched as: jang e khandaq ka waqia • sulah hudaibiya • bait e rizwan tree • banu quraiza • heraclius caesar letter • kisra letter torn • seerah trench confederates
Arabic
وَكَفَى اللَّهُ الْمُؤْمِنِينَ الْقِتَالَ
Transliteration
Wa kafallahu al-mu’minina al-qital.
Meaning
Ten thousand confederates besiege Madinah — Salman’s trench, the storm that scattered them; Banu Qurayza’s treachery judged; Hudaybiyyah’s “clear victory” truce; then letters to Heraclius, Khosrow and the Muqawqis.
Reference
Quran 33:9–27 (Al-Ahzab), 48:1–29 (Al-Fath: 48:1, 48:10, 48:18); Sahih al-Bukhari and Sahih Muslim (trench digging, Hudhayfah’s mission, Sad’s judgment and death, Ridwan pledge, Khosrow/Heraclius letters); Ibn Hisham (Hudaybiyyah terms, Qurayza siege)
Timeline
Key events in order
- 1The Confederates (Shawwal 5 AH): Huyayy ibn Akhtab welds Quraysh (4000), Ghatafan (6000 under Uyaynah) and Jews against Madinah — 10,000 vs 3000 Muslims; Salman al-Farisi’s Persian trench (Khandaq) — five days’ digging, the Prophet’s ﷺ own blistered hands, the rock split by three Allahu-Akbar blows flashing Syria, Persia, Yemen.
- 2The siege: a month of hunger (stones on bellies, one goat for multitudes), Banu Qurayza’s betrayal (Huyayy seduces Kab ibn Asad, tears the pact), Hudhayfah’s night mission through the storm — Allah sends the freezing gale overturning pots and tents; the confederates dissolve blaming each other; “Allah sufficed the believers in fighting” (33:25).
- 3Banu Qurayza: commanded by Jibril (dust on turban — “the angels have not laid arms”) — 25-day siege; Sad ibn Muadh’s arbitration by their own invitation: men executed, families secured — harsh judgment for wartime treachery at the city’s throat, mourned even as pronounced (Sad dies of his Trench wound, “the Throne shook” for him).
- 4Hudaybiyyah (Dhul-Qadah 6 AH): 1400 pilgrims in ihram barred at the plain; Uthman’s detention sparks Bayat ar-Ridwan under the tree (“Allah’s pleasure” — 48:18); Suhayl’s galling terms — erase “Messenger of Allah,” return defectors, ten-year truce, this year’s Umrah deferred — Umar’s anguish, Abu Bakr’s anchor, Ali’s pen obeying; the Quran names it “a clear victory” (48:1) — conversions double in the two truce years.
- 5Letters to kings (7 AH): Dihyah to Heraclius (who questions Abu Sufyan, finds every answer matching prophethood, offers “under my feet” tribute to keep his throne); Abdullah ibn Hudhafah to Khosrow — the letter torn, the Prophet’s ﷺ verdict “Allah will tear his kingdom” (fulfilled within years); Hatib to the Muqawqis — courteous reply with gifts including Mariyah (mother of Ibrahim) and the mule Duldul.
Full story
The complete account
In 5 AH the exiled Jewish chief Huyayy ibn Akhtab forged the grand alliance: Quraysh’s 4000 under Abu Sufyan, Ghatafan’s 6000 lured with Khaybar’s dates, plus Sulaym and Asad — ten thousand, the largest desert army Arabia had seen — marching to exterminate Madinah. Against them the Prophet ﷺ fielded three thousand, many boys. Then Salman al-Farisi — the Persian seeker who had bought his freedom with 300 palms and gold — offered his people’s art: “In Persia, when cavalry threatened, we dug a trench.” The city’s exposed northern face was ditched in six days (forty cubits per ten men), the Prophet ﷺ digging, hauling, singing with them (“O Allah, true life is the Hereafter’s — forgive Ansar and Muhajirah!”), his belly bound with stones against hunger. At one rock picks shattered — water sprinkled, three blows, three lightning-flashes: “Syria’s palaces! Persia’s Kisra! Yemen’s gates!” — the starving diggers roaring Allahu Akbar at empires their grandchildren would inherit.
The siege tested every nerve. For nearly a month the trench held cavalry at bay (a few leapt it — Ali slew giant Amr ibn Abd Wudd in the duel the age remembered; Nawfal ibn Abdullah fell in the ditch). Inside, hunger gnawed (one slaughtered goat stretched by miracle-barakah), hypocrites slunk home with excuses (33:13), and Huyayy slipped into Qurayza’s fortress, seducing Kab ibn Asad to tear the pact — the knife at Madinah’s back, its women and children exposed. The Prophet ﷺ sent Sad ibn Muadh and Sad ibn Ubadah to verify; they returned with the coded confirmation: “Adal and Qarah!” (two tribes that betrayed at Raji) — “conceal it,” he ordered, wrapping himself tighter. Then Allah’s artillery: a freezing midnight gale — tents ripped, fires snuffed, pots overturned — while Hudhayfah, sent crawling into the enemy camp on the Prophet’s ﷺ personal guarantee of safety, sat warming at Abu Sufyan’s own fire and heard him concede: “Mount! I depart!” Ghatafan and Quraysh blamed each other into the dark. Dawn showed empty ground. “Allah sufficed the believers in fighting — and Allah is Strong, Mighty” (33:25). Surah Al-Ahzab immortalised the month: the fear that “eyes rolled and hearts leapt to throats” (33:10), and the faithful who “did not waver” (33:22).
No rest: at noon, as the Prophet ﷺ washed trench-dust off, Jibril arrived turbaned with dust — “you laid arms? The angels have not! March on Banu Qurayza!” Twenty-five days of siege on their fortress; then surrender on Sad ibn Muadh’s arbitration — their own ally-chief’s judgment, by their invitation. Sad, dying of the Trench arrow-wound, ruled by the Torah’s wartime law for treason under siege: fighting men executed (~400–700 by the varying counts), families and property secured as captives. The Prophet ﷺ confirmed: “You judged with Allah’s judgment from above the seven heavens.” The sentence shocks modern readers — it shocked Madinah too — but the Seerah’s context is total war: an armed fortress breaking a mutual-defence pact mid-siege to admit ten thousand besiegers onto defenceless families. Sad died as his wound reopened; the Prophet ﷺ said the Throne of the Merciful shook at his death (Bukhari, Muslim) — heaven’s own epitaph on the cost of justice.
A year later came the paradox-triumph. In Dhul-Qadah 6 AH the Prophet ﷺ dreamt entering Makkah in pilgrim garb — and marched with 1400 in ihram, sacrificial camels garlanded, swords sheathed, intent only Umrah. Quraysh, humiliated at the prospect, barred the plain of Hudaybiyyah; Khalid’s cavalry shadowed; negotiations seesawed till Uthman’s detention sparked the rumour of his murder — and under the acacia tree the Prophet ﷺ took the Bayat ar-Ridwan: hands piled on his, Allah declaring “His hand above theirs” and “pleased with the believers” (48:10, 48:18) — the ummah’s highest collective honour, given for readiness to die over one envoy. Then Suhayl ibn Amr dictated gall: erase “Messenger of Allah” (“if we believed you, we would not fight you — write Muhammad son of Abdullah”); return every Makkan defector (even Muslim) while Quraysh returns none; defer this year’s Umrah to next, three days only; ten-year truce; tribes free to ally either side. Umar erupted — “Are we not on truth?! Why disgrace our religion?!” — till Abu Bakr anchored him (“he is Allah’s Messenger — he will not disobey Him”) and time vindicated: the Quran named it Fathan Mubina — a clear victory (48:1). The truce’s two years admitted more converts than the previous nineteen: Khalid ibn al-Walid and Amr ibn al-As walked into Madinah; the missionaries fanned to every tribe; Quraysh’s own allies (Khuzaah) joined the Muslims — the clause that would soon hang Quraysh.
With Arabia stabilised, the horizon widened: six envoys with silver-sealed letters “In Allah’s name… from Muhammad, servant and Messenger of Allah” to the thrones. To Heraclius — carried by Dihyah al-Kalbi as the emperor rested at Jerusalem from Persia’s defeat: Heraclius summoned the trading Abu Sufyan (still pagan) and cross-examined him — lineage? kings among forefathers? followers growing or shrinking? any treachery? — every answer fitting the prophetic profile; Heraclius confessed to his bishops “he is coming; if I could, I would wash his feet,” offered the carrier gifts, but chose throne over truth. To Khosrow II — Abdullah ibn Hudhafah bore it; the Chosroes tore it, roaring at the audacity of his name after Allah’s; the Prophet ﷺ said “Allah will tear his kingdom apart” — within years his son Siroes murdered him and the empire unravelled, while the letter’s courier survived every plot. To the Muqawqis of Egypt — Hatib ibn Abi Baltaa; the Patriarch replied courteously with Mariyah (who would mother Ibrahim), Sirin, a thousand measures of gold, and the mule Duldul the Prophet ﷺ rode for life. To Najashi II, to Bahrain’s Mundhir, to Yamamah’s Hawdhah — some believed, some temporised, none were coerced. Dawah had gone imperial — with pens, not swords.
Lessons
Three lessons
Lesson 1
Ingenuity is Sunnah: the trench — a foreign idea from Salman — proves Islam adopts any lawful wisdom; competence is worship.
Lesson 2
Short-term loss, long-term victory: Hudaybiyyah looked like surrender and was revelation-certified triumph — judge treaties by fruits, not feelings.
Lesson 3
Invite the powerful fearlessly: the letters to emperors teach dawah without inferiority — truth addressed to thrones as readily as to tribes.
Sources & review
Quran 33:9–27 (Al-Ahzab), 48:1–29 (Al-Fath: 48:1, 48:10, 48:18); Sahih al-Bukhari and Sahih Muslim (trench digging, Hudhayfah’s mission, Sad’s judgment and death, Ridwan pledge, Khosrow/Heraclius letters); Ibn Hisham (Hudaybiyyah terms, Qurayza siege)
Learn personal details from a qualified teacher; minor school differences exist.
Educational content — not a fatwa. See methodology and disclaimer.
Reviewed • 2026-01-01Our methodology
FAQ
Frequently asked questions
What happened in this chapter of the seerah?
Ten thousand confederates besiege Madinah — Salman’s trench, the storm that scattered them; Banu Qurayza’s treachery judged; Hudaybiyyah’s “clear victory” truce; then letters to Heraclius, Khosrow and the Muqawqis.
What are the lessons of this chapter?
Ingenuity is Sunnah: the trench — a foreign idea from Salman — proves Islam adopts any lawful wisdom; competence is worship. Short-term loss, long-term victory: Hudaybiyyah looked like surrender and was revelation-certified triumph — judge treaties by fruits, not feelings. Invite the powerful fearlessly: the letters to emperors teach dawah without inferiority — truth addressed to thrones as readily as to tribes.
What are the sources for this chapter?
References: Quran 33:9–27 (Al-Ahzab), 48:1–29 (Al-Fath: 48:1, 48:10, 48:18); Sahih al-Bukhari and Sahih Muslim (trench digging, Hudhayfah’s mission, Sad’s judgment and death, Ridwan pledge, Khosrow/Heraclius letters); Ibn Hisham (Hudaybiyyah terms, Qurayza siege) Consult scholars for deeper rulings.
Madinah