The confederate army
The Banu Nadir, a Jewish tribe expelled from Madinah for breaking treaty, travelled to Quraysh and allied tribes including Ghatafan, urging a coordinated assault. They assembled an army of roughly ten thousand against the Muslims' three thousand defenders. The Quran later named the campaign Al-Ahzab — the Confederates.
Salman's proposal
Madinah was naturally protected on three sides by lava fields and dense palm groves. Only the northern flank was exposed. Salman al-Farisi, who had seen Persian military engineering, proposed digging a wide trench across the northern approach. The Prophet ﷺ accepted, and the entire community — including the Prophet ﷺ himself — laboured for weeks in cold weather to complete it. Hadith record him singing alongside the diggers and lifting his own shovelfuls of earth.
The confederates arrive
When the Quraysh and their allies reached Madinah, they found a long defensive trench too wide for cavalry to leap. Stalemated, they laid siege. Inside Madinah, food became scarce; the women and children were moved into protected quarters. The Banu Qurayza, a Jewish tribe inside Madinah still bound by treaty, were courted by the besiegers and eventually broke their pact with the Muslims, leaving the city's interior threatened.
The cold wind
After roughly a month of siege, with both sides exhausted, a violent cold wind tore across the confederate camp at night, scattering tents, extinguishing fires, and panicking the horses. The Quran describes Allah sending winds and unseen forces against the besiegers. By dawn, Abu Sufyan had ordered the Quraysh to break camp and retreat. The other tribes followed.
The aftermath
The Prophet ﷺ said after the battle: 'From this day on, we will go to them, they will not come to us.' The strategic balance had shifted permanently. The confederate failure also marked the high-water point of armed opposition to Madinah from the broader Arabian coalition — never again would they assemble at this scale.
Reflection
Khandaq shows the value of taking the right counsel, regardless of where it comes from. Salman, a Persian, brought a foreign idea — a defensive trench — and the Prophet ﷺ adopted it without hesitation. The siege was endured by collective work and collective patience. The decisive blow, when it came, came from Allah, not from a charge or a clever manoeuvre.
Primary sources
- Surah Al-Ahzab (Quran 33:9–27)
- Sahih Bukhari (multiple narrations on the Trench)
- Sahih Muslim (multiple narrations on the Trench)
- Ibn Hisham, As-Sirah an-Nabawiyyah