Skip to the contentSkip to the rooms
نُورCodex of Light The Path

The Path · chapter 40 of 71 · Al-Seerah

الخندق

Khandaq: The Trench

Salman suggested the trench. The Confederates were defeated by wind.

Read on

The chapter

The Confederates gathered against Madinah in the fifth year after the Hijrah: Quraysh, Ghatafan, and other allies, with a force far larger than at Uhud. The aim was to end the Medinan community in a single siege. The Prophet consulted his companions. Salman al-Farisi advised digging a trench, a method known in Persia but not to the Arabs of that region as a city defense. The counsel was accepted. The Muslims dug through hard days, the Prophet working with them, binding a stone to his stomach from hunger as they did, until a ditch protected the vulnerable approaches of the town.

The siege was hunger, cold, and psychological pressure. The hypocrites spread doubt and asked whether Allah and His Messenger had promised only delusion. Banu Qurayzah's neutrality broke into hostility on the flank, threatening the rear. Nu'aym ibn Mas'ud, who had embraced Islam in secret, sowed discord among the confederate parties by Allah's permission, each side made to distrust the other. Then a severe wind and forces the believers did not see scattered the camps of the enemy. Tents were uprooted; fires were extinguished; the coalition lost the will to continue.

The Quran recalls the favour in Surah al-Ahzab: when armies came against you, and We sent against them a wind and armies you did not see. Khandaq, the Trench, marks the shift from pure field engagement to a defensive strategy that neutralized superior numbers. After it, the initiative moved toward Hudaybiyyah and eventually Fath Makkah. Salman's place in the story is permanent: the seeker from Persia whose practical counsel became part of the Seerah's turning point. The trench itself is a reminder that accepting a good idea from a companion is part of prophetic leadership, not a diminution of it.

The Path links Khandaq to the earlier tests of Badr and Uhud and to the later opening. Without the trench, Madinah might have been overrun. With it, the confederates spent their strength on a ditch they could not cross, and Allah completed the dispersal with wind and unseen hosts. The believers were told that a new phase had begun: they would not be the ones raided in their core in the same way again. From the trench the road runs to the treaty that looked like defeat and was named victory, and from that treaty to the Opening of the city that had driven the Prophet out.

Classical sirah preserves the names of those who dug, the miracle of the rock that the Prophet struck three times with prophecies of future openings, and the exhaustion of the siege. The trench also changed Arabian military imagination. A town that could not match cavalry in open field could still refuse a coalition by shaping the ground. Hunger during the dig is remembered in hadith of the stone against the belly and the miracle of the lamb that fed many, signs that the siege was real and that provision could still arrive.

The hypocrisy exposed in the trenches of Madinah is as important as the wind that scattered the camps: internal doubt was named so that later generations would recognize it. When the confederates left, the Prophet said that now they would not raid you, but you would raid them, a strategic sentence that maps the rest of the Seerah until the Opening. After the confederates withdrew, the campaign against Banu Qurayzah followed according to the sirah's account of their breach during the siege, a related but distinct chapter in the tradition.

What matters for this node is the turning of the strategic tide: Madinah would not again face the same kind of multi-tribe encirclement. The trench, the unseen armies, and the sentence about who would raid whom form the durable lesson. The facts grid holds year, counsel, method, and end so the narrative can stay with shura, hunger, hypocrisy, and unseen help. Play the tilawah of 33:9. Open Salman's character card. Walk to Hudaybiyyah. Khandaq closes the era of existential siege and opens the era of initiative.

The rock in the trench that the Prophet struck, with reported flashes and prophecies of Yemen, Syria, and the east, entered the sirah as a sign during exhaustion. Whether read as miracle narrative or as morale under hunger, it belongs to the memory of the dig. Companions later recalled the cold, the fear on the night the confederates seemed nearest, and the relief when the wind came. Al-Ahzab's verses on the siege are not ornamental; they are the divine commentary on the same days the diggers lived. Khandaq therefore requires both the practical story (Salman's counsel, the ditch, the coalition, the wind) and the revealed frame (favour, unseen armies, exposure of hypocrisy). When those layers are present with facts and tilawah, the node holds the 900-band of Seerah flagships without padding.

By the end of the confederate war the political map of the Hijaz had changed. Quraysh had spent treasure and prestige on a siege that produced no occupation. Smaller tribes noticed. The path to Hudaybiyyah's negotiation table runs through that demonstration of resilience. Khandaq is not only a ditch in the ground; it is the moment the existential threat to Madinah stopped being the default strategic reality. Record the wind, the unseen hosts, Salman's counsel, and the Prophet's sentence about who would raid whom, and the node stands in the upper Seerah band where it belongs.

The Qur'an on it

يَا أَيُّهَا الَّذِينَ آمَنُوا اذْكُرُوا نِعْمَةَ اللَّهِ عَلَيْكُمْ إِذْ جَاءَتْكُمْ جُنُودٌ

O you who believe, remember the favour of Allah upon you when armies came against you.

Qur'an 33:9

The narrations

Salman is one of us, the Ahl al-Bayt.

Now we will raid them, and they will not raid us.

O Allah, revealer of the Book, swift in reckoning, defeat the confederates. O Allah, defeat them and shake them.

Bukhari 2933 · Muslim 1742

They kept us from the middle prayer, may Allah fill their graves and houses with fire.

Bukhari 2931 · Muslim 627

Now we raid them, and they will not raid us, we are marching to them.

Bukhari 4110

Jabir slaughtered a small goat and ground a sa' of barley for the Prophet ﷺ alone, and the whole army of the Trench ate from it and left it as it was.

Bukhari 4102 · Muslim 2039

What it teaches

The facts

Read beside it

The words

Connected chapters