Seven Mosques Madinah (Sab’a Masajid) – History and How to Visit
The Seven Mosques in Madinah, known in Arabic as Sab’a Masajid, are a group of small historic mosques on the western side of the city, near the site of the Battle of the Trench (Khandaq). They are a regular stop on the Madinah ziyarat, usually visited between Masjid al-Qiblatain and Mount Uhud. This guide explains their history, which mosques are in the group and how to visit them today.
Table of Contents
History of the Seven Mosques
In 5 AH a large alliance of tribes marched on Madinah. On the advice of Salman al-Farsi (رضي الله عنه), the Muslims dug a trench (khandaq) along the open northern side of the city. The siege lasted for weeks and ended when a strong wind and the cold broke the camp of the attackers. This event is known as the Battle of the Trench, or the Battle of the Confederates (al-Ahzab), and Surah al-Ahzab in the Qur’an refers to it.
The small mosques of this area were built over time at places linked to the Prophet ﷺ and his companions during the siege, near the slopes of Mount Sila’.
Which Mosques Are the Seven Mosques?
The name is traditional, and the list differs between sources. The mosques usually named are:
- Masjid al-Fath – the best known, on a small rise, where the Prophet ﷺ is reported to have made du’a during the siege.
- Masjid Salman al-Farsi – named after the companion who suggested the trench.
- Masjid Abu Bakr, Masjid Umar and Masjid Ali – named after the companions associated with them.
- Masjid Fatimah (also linked to Sa’d ibn Mu’adh).
Some lists count Masjid al-Qiblatain, which is nearby, as the seventh.
The Seven Mosques Today
Today the area is dominated by the large Masjid al-Khandaq, built beside the old site. Some of the small historic mosques have been restored, while others may be closed to visitors. What is open can change, so treat the visit as a short stop to see the area and learn its history, rather than a fixed list to tick off.
How to Visit
The Seven Mosques are about 15 minutes by car from Masjid an-Nabawi. There is no direct public transport that most visitors use, so the easiest way is a taxi or a ziyarat tour. Allow about 20–30 minutes at the site.
- Combine it with Masjid al-Qiblatain, which is close by.
- Go in the morning, before the midday heat.
- Dress modestly and keep your voice low; these are places of worship and history.
FAQs
What are the Seven Mosques in Madinah?
A group of small historic mosques near the site of the Battle of the Trench (Khandaq), on the western side of Madinah.
Why are they called the Seven Mosques?
The name is traditional. Different sources list slightly different mosques, and some count Masjid al-Qiblatain as the seventh.
Can I pray in the Seven Mosques?
Masjid al-Khandaq is open for prayer. Some of the small historic mosques may be closed, so check on the day.
How far are the Seven Mosques from Masjid Nabawi?
About 15 minutes by car.
Are the Seven Mosques part of the Madinah ziyarat?
Yes. Most ziyarat tours stop there between Masjid al-Qiblatain and Mount Uhud.

Add Comment