Skip to content

The Battle of the Trench: Medina's ditch holds off the Confederates

Some 10,000 Confederate troops (al-Ahzab) besieged Medina but were stopped by a trench the Muslims dug and scattered by a cold wind; the events are recorded in Qur'an 33:9–27.

Gregorian calendar 627
Hijri calendar 5–6 AH

The Hijri conversion uses the tabular (arithmetical) calendar and may differ by 1–2 days from official sighting. AH = Anno Hegirae, BH = before the Hijrah (before 16 July 622 CE). Dates before 1582 follow the Julian calendar.

In Shawwal 5 AH (early 627), some 10,000 allied troops of Quraysh, Ghatafan and others, rallied by exiled leaders of the Banu Nadir, marched on Medina. About 3,000 Muslims held the city behind a trench (khandaq). Sura 33 is named al-Ahzab ("the Confederates") after the event.

Digging the trench

According to the biographies, the trench was suggested by Salman the Persian, a defence known in Persia but new to the Arabs. The Prophet dug and carried earth himself, chanting verses with his companions (al-Bukhari). When they struck hard rock, the Prophet broke it; reports in Ahmad and al-Nasa'i say he foretold then the conquests of Syria, Persia and Yemen.

The siege

The siege lasted about a month. The Banu Qurayza inside Medina broke their treaty with the Muslims, and Qur'an 33:10–11 describes how "eyes swerved and hearts reached the throats." Hypocrites asked leave to go home claiming their houses were exposed (33:13). The fighting delayed the afternoon prayer until the Prophet invoked against the enemy who had kept them from "the middle prayer", the hadith used to show that the middle prayer is asr (al-Bukhari and Muslim).

The Confederates disperse

Nu'aym ibn Mas'ud of Ghatafan, secretly a Muslim, sowed distrust between the Quraysh and the Qurayza. Then a cold wind tore down their tents and put out their fires, as Qur'an 33:9 describes. Hudhayfa ibn al-Yaman was sent to scout on a freezing night (Muslim). The Confederates went home empty-handed.

Impact

The Prophet said, "Now we will go out against them; they will not come against us" (al-Bukhari). The Trench was the last major Quraysh offensive against Medina; from then on the initiative passed to the Muslims, leading to Hudaybiyya and the conquest of Mecca.

πŸ“š References

  1. πŸ“• Book al-Bukhari, M. I. (1997). The Translation of the Meanings of Sahih Al-Bukhari (Arabic–English) (M. M. Khan, Trans.). Darussalam. ISBN 9789960717319.
  2. πŸ“• Book al-Mubarakpuri, S. R. (2002). The Sealed Nectar (Ar-Raheeq Al-Makhtum). Darussalam. ISBN 9789960899558.
  3. πŸ“• Book al-Tabari (1997). The History of al-Tabari, Vol. VIII: The Victory of Islam (M. Fishbein, Trans.). State University of New York Press. ISBN 9780791431504.
  4. πŸ“• Book al-Umari, A. D. (1991). Madinan Society at the Time of the Prophet. International Institute of Islamic Thought. ISBN 9780912463360.
  5. 🌐 Website quran.com (n.d.). 9. https://quran.com/33/9