Designed to Feel
Bestseller by Peter Burchardt
Designed to Feel
Your anxiety, jealousy, and anger aren't broken — they're ancient software running in a world they weren't built for. This book is the missing manual.
“The most eye-opening book on emotions I've ever read.”
Get It on Amazon →Available in paperback & Kindle

Search Holy Sites

Search for a holy site or country

Masjid al-Khandaq (Mosque of the Trench)
#491 Globally

🕌 Masjid al-Khandaq (Mosque of the Trench)

Saudi Arabia

About This Sacred Site

Masjid al-Khandaq (also known as Masjid al-Ahzab or the Seven Mosques) is a complex of small mosques on the site of the Battle of the Trench (Khandaq) in 627 CE, one of the most crucial events in early Islamic history. Prophet Muhammad ordered a trench to be dug along the unprotected northern side of Medina to defend against a massive coalition of 10,000 enemies. The seven small mosques mark the positions where the Prophet and his companions prayed and strategized during the siege. The successful defense of Medina proved to be a turning point, establishing Islam as a lasting force in Arabia.

History & Origins

Masjid al-Khandaq, also known as the Mosque of the Trench or Masjid al-Ahzab, is situated on the site of the 627 CE Battle of the Trench near Medina. The mosque complex commemorates the defensive strategy employed by Prophet Muhammad and his followers, who dug a trench to protect the city from a coalition of Meccan tribes. This innovative tactic led to the battle’s stalemate and eventual failure of the siege. The mosque was originally established shortly after the battle as a place of worship and remembrance. Over centuries, the site has undergone various renovations and expansions, preserving its historical landscape and religious significance. As a symbol of unity, resilience, and divine support in adversity, Masjid al-Khandaq remains a vital pilgrimage destination for Muslims, linking them directly to the Prophet’s leadership and the early Muslim community’s trials.

Spiritual Significance

Established in 627 CE, this mosque commemorates the Battle of the Trench, where Prophet Muhammad orchestrated the defensive trench around Medina to thwart an invasion by approximately 10,000 enemy combatants. The mosque complex incorporates seven smaller mosques, each historically linked to specific companions or events from the battle, serving as focal points for prayer and remembrance. Annual gatherings during the Islamic month of Shawwal include sermons recounting the strategic ingenuity of the trench, highlighting themes of unity and reliance on God in times of conflict. The mosque’s architecture features traditional Hejazi elements with a large prayer hall and courtyard, constructed over centuries with restorations under various Islamic rulers, including the Ottoman Empire. The site is referenced in Hadith collections such as Sahih Muslim, which mention the battle and the Prophet’s leadership. Pilgrims engage in dhikr sessions within the mosque, invoking blessings upon the Prophet and his companions who defended Medina. The mosque's proximity to the original trench location allows visitors to visualize the battlefield’s expanse, enhancing the historical and spiritual connection. Its preservation by the Saudi Ministry of Islamic Affairs underscores its ongoing religious importance as both a place of worship and a symbol of early Islamic resilience.

Key Facts

  • •Marks the site of the Battle of the Trench in 627 CE
  • •Prophet Muhammad ordered a trench dug to defend Medina from 10,000 attackers
  • •The complex includes seven small mosques at strategic positions
  • •The battle was a decisive turning point for the survival of early Islam
  • •Salman al-Farisi, a Persian companion, suggested the trench strategy

Location

Coordinates: 24.4750, 39.6069

Quick Info
Religion
Islam
Established
627 CE
Annual Visitors
500,000+
Significance
Site of the pivotal Battle of the Trench that ensured the survival of early Islam
Coordinates
Lat: 24.475
Lng: 39.6069
🎫 Book Tours & Tickets

Find guided tours, skip-the-line tickets, and experiences near Masjid al-Khandaq (Mosque of the Trench).

🟠
GetYourGuide
Tours & Activities
→
🟢
Viator
Experiences & Tickets
→

Frequently Asked Questions

What religion is Masjid al-Khandaq (Mosque of the Trench) associated with?▾

Masjid al-Khandaq (Mosque of the Trench) is a Islam holy site located in Saudi Arabia. It was established 627 CE and is ranked #491 in our global directory of sacred sites.

When was Masjid al-Khandaq (Mosque of the Trench) established?▾

Masjid al-Khandaq (Mosque of the Trench) dates back to 627 CE. Marks the site of the Battle of the Trench in 627 CE

How many people visit Masjid al-Khandaq (Mosque of the Trench) each year?▾

Masjid al-Khandaq (Mosque of the Trench) receives approximately 500,000+ visitors per year. Prophet Muhammad ordered a trench dug to defend Medina from 10,000 attackers

What is Masjid al-Khandaq (Mosque of the Trench) known for?▾

A cluster of mosques at the site of the Battle of the Trench, a pivotal defense of Medina. Visitors come seeking protection, pilgrimage, blessings, peace. The complex includes seven small mosques at strategic positions

The Tribe Manager by Peter Burchardt
The Leadership Companion
The Tribe Manager
Your employees are running stone-age software. Manage with it, you get loyalty and performance. Manage against it, you get quiet quitting and turnover.
Leading People the Way Evolution Intended — by Peter Burchardt
Get It on Amazon →Paperback & Kindle