sirah

The Battle of the Trench (Khandaq): A City Under Siege

The Battle of the Trench (Khandaq): A City Under Siege — sourced from authentic Quran and hadith references.

The Battle of the Trench (Ghazwat al-Khandaq) was a defining siege in Islamic history where the Muslims were surrounded by a massive confederation of tribes, yet through strategic planning and divine aid, the community was preserved and the tides of conflict turned in their favor.

The Unfolding of the Siege

In the fifth year after the Hijrah (627 CE), the Quraysh of Makkah, joined by allied tribes such as the Banu Nadir, Banu Ghatafan, and others, marched toward Madinah with an army estimated at 10,000 men. The Prophet ﷺ, upon learning of the approaching coalition, consulted his companions. Salman al-Farisi (may Allah be pleased with him) suggested digging a trench around the unprotected areas of Madinah—a strategy unknown in Arabian warfare. The Muslims worked tirelessly, and the trench was completed in just six days. The coalition arrived and found themselves stymied by this defensive barrier, forcing them to lay siege to the city.

The siege lasted approximately 15 to 20 days. The confederates could not breach the trench, so they subjected the Muslims to relentless psychological and physical pressure. Hunger, cold, and fear gripped the besieged community, as described in the Quran: "When they came upon you from above you and from below you, and when eyes grew wild and hearts reached the throats, and you were harboring doubts about Allah" (Quran 33:10). The polytheists also attempted to negotiate with the Jewish tribe of Banu Qurayzah, who had a treaty with the Muslims, to break their pact and attack from within. This treachery added to the peril.

Divine Aid and the Splitting of the Confederates

Despite the dire circumstances, the Muslims maintained their trust in Allah. The Quran records the promise of help: "And Allah turned back the disbelievers in their rage, not having attained any good. And Allah sufficed the believers in the battle. And Allah is ever All-Powerful, All-Mighty" (Quran 33:25). The confederates eventually despaired of victory. Allah sent a severe windstorm that overturned their tents, extinguished their fires, and sowed discord among their ranks. The Quraysh and their allies retreated in disarray, lifting the siege.

One key factor in the disunity was the discord Allah caused among the polytheists: "And He brought down those who supported them among the People of the Scripture from their fortresses and cast terror into their hearts, so that a party of them you slew, and a party you took captive" (Quran 33:26). This referred to the Banu Qurayzah, whose treachery was confronted after the siege.

Strategic Lessons for All Time

The Battle of the Khandaq offers timeless lessons. It demonstrates the importance of unity and consultation (shura) in the Muslim community. The Prophet ﷺ listened to Salman’s innovative idea, showing that leadership must value sound judgment. The siege also teaches that victory is from Allah, not merely from military might. As the Quran states, "And Allah will never grant the disbelievers a way over the believers" (Quran 4:141). The Muslims’ patience and reliance on Allah were rewarded.

Moreover, the battle underscores the reality of trials. Allah tests believers to strengthen their faith. The Quran says about that day: "There, the believers were tested and shaken with a severe shaking" (Quran 33:11). Yet, the outcome proved that divine aid is near for those who remain steadfast.

The Quranic Perspective on Battle and

The Quran consistently frames the struggle between believers and disbelievers as a cosmic contest. In this context, Allah commands: "Those who believe do battle for the cause of Allah; and those who disbelieve do battle for the cause of idols. So fight the minions of the devil. Lo! the devil's strategy is ever weak" (Quran 4:76). This verse, though general, applies to the Trench battle where the Muslims were indeed fighting for Allah’s cause against a coalition motivated by tribalism and idolatry. The weakness of the devil’s strategy was manifest in the confederates' failure despite their numbers.

Another relevant verse is Quran 85:4: "cursed were the People of the Trench," which refers to an earlier story of persecution. While not directly about the Khandaq, it reminds that the battle in which the Muslims were besieged was part of a recurring pattern where oppressors (the "People of the Trench") are cursed for their injustice, while the faithful are vindicated.

The Legacy of the Battle

The Battle of the Khandaq marked a turning point. After the siege, the Muslims’ position in Arabia strengthened. The Quraysh’s prestige was damaged, and the Muslims could now expand without fear of a unified coalition. The treaty with Banu Qurayzah was broken, leading to their punishment, which reinforced the sanctity of covenants in Islamic society.

The siege also solidified the principle of strategic defense in Islam. The use of the trench was a legitimate tactic of war, showing that Muslims can adopt beneficial methods from other cultures as long as they are not prohibited. It further highlighted the importance of internal security and vigilance against treachery.

Sources

  • Quran 33:10-11, 33:25-26 — https://quran.com/33
  • Quran 4:76 — https://quran.com/4/76
  • Quran 85:4 — https://quran.com/85/4
  • Sahih al-Bukhari, Book of Military Expeditions, Hadith on the Trench — https://sunnah.com/bukhari/64
  • Sahih Muslim, Book of Jihad, Hadith on the Siege — https://sunnah.com/muslim/32
The Battle of the Trench (Khandaq): A City Under Siege · Rassoul