The Seven Mosques area in مدینہ منورہ marks the location of the Battle of the Trench (Khandaq, 5 AH/627 CE) where نبی کریم and companions defended مدینہ منورہ against a coalition siege. The small مسجدs mark نماز stations used during the siege. The most prominent is Masjid al-Fath (Mosque of Victory).
In 5 AH (627 CE), a coalition of Quraysh, Ghatafan, and other tribes — numbering approximately 10,000 — besieged مدینہ منورہ. On the advice of the companion Salman al-Farsi, نبی کریم ordered a trench (khandaq) dug along the northern approaches to the city, where it was most vulnerable. The siege lasted approximately a month, during which the Muslims endured extreme cold, hunger, and the fear of betrayal from within. نبی کریم and his companions maintained نماز stations along the trench line, keeping watch and making دعا for divine assistance. These نماز stations became the sites of the seven small مسجدs that stand in the area today.
The most prominent of the seven is Masjid al-Fath (Mosque of Victory), situated on the highest point of the hill, marking where نبی کریم made intensive دعا for three days seeking divine aid against the siege. Below it are: Masjid Salman al-Farsi (named after the companion who suggested the trench strategy), Masjid Umar ibn al-Khattab, Masjid Ali ibn Abi Talib, Masjid Abu Bakr, and Masjid Fatimah. The seventh مسجد, sometimes counted in the group, has varying identifications in different sources. The مسجدs are small structures — some barely larger than a room — but their historical resonance with the early Muslim community's struggle for survival makes them significant حج sites.
The Seven Mosques are located on the western slope of Mount Sal'a, approximately 2 kilometers north of Masjid al-Nabawi. They are typically visited together as part of a مدینہ منورہ ziyarah tour. The area has been developed with walkways, lighting, and explanatory signage. While the مسجدs are small and some are primarily historical markers rather than active نماز spaces, the area provides a tangible connection to the Battle of the Trench — one of the defining moments of early Islam when the very survival of the Muslim community was at stake. Standing where نبی کریم made دعا for victory, and where victory ultimately came through divine intervention in the form of a devastating wind that scattered the enemy encampment, is a powerful experience.