المساجد السبعة
The Seven Mosques (Sab'u Masajid) are a cluster of small historic mosques on the western slope of Mount Sela in Madinah, linked to the Battle of the Trench (Khandaq) in 5 AH. They include mosques named after Abu Bakr, Umar, Uthman, Ali, Fatimah, and Salman al-Farisi, plus Masjid al-Fath. The largest, Masjid al-Fath, marks where the Prophet made dua for victory.
The Seven Mosques are associated with the Battle of the Trench (Al-Khandaq) in 5 AH (627 CE), when the Muslim community dug a trench to defend Madinah against a coalition of Quraysh and allied tribes. The mosques mark locations where the Prophet (PBUH) and his companions stationed themselves during the siege. Masjid al-Fath (Mosque of Victory) is the most prominent, built on the spot where the Prophet (PBUH) made supplication for three days until the news of victory came. The other mosques are attributed to prominent companions who were positioned nearby.
The Seven Mosques commemorate the Battle of the Trench, a critical moment in Islamic history when Madinah was under siege. The victory came through a combination of strategic planning (the trench idea from Salman al-Farisi), steadfast faith, and divine intervention. The mosques represent the unity and perseverance of the early Muslim community.
The Seven Mosques are located on the western side of Madinah, about 2 km from Masjid an-Nabawi. They can be reached by taxi or on foot. Not all seven structures remain — some have been incorporated into the landscape through development. Masjid al-Fath is the most notable and accessible, built on an elevated rock with stairs leading up to it. The area offers views of the historic trench line (now largely built over). These are small prayer spaces, not large congregational mosques. The visit is historical in nature and can be completed in about 30 minutes.