EN / UR / AR
WhatsApp Booking
Blog/Qiblatain & Seven Mosques
🕌 Historic MosquesUpdated 2026

Masjid Qiblatain &
Seven Mosques of Madinah Guide 2026

The historic mosques of the trench battlefield and the mosque where the Qibla changed from Jerusalem to Makkah.

Masjid al-Qiblatain: The Mosque of Two Qiblas

In the 2nd year of Hijra (624 CE), during the midday prayer, divine revelation came to the Prophet ﷺ commanding the change of the Qibla from Al-Aqsa mosque in Jerusalem to the Holy Kaaba in Makkah. The Prophet ﷺ immediately pivoted mid-prayer and the companions followed. The mosque has historically featured two mihrabs to commemorate this moment. The modern mosque was renovated extensively and retains its unique historical character.

The Seven Mosques (Al-Masajid al-Sab'ah)

These mosques are located in the Al-Ahzab (Khandaq/Trench) area and mark the positions of key companions during the famous siege of Madinah. All are open for prayers and visitation.

Masjid al-Fath

Site where the Prophet ﷺ made du'a during the Siege of Madinah. Du'as were accepted here on three consecutive days.

Masjid Salman al-Farsi

Built at the spot where Salman al-Farsi (R.A) suggested digging the trench — a strategy that saved Madinah.

Masjid Abu Bakr al-Siddiq

Marks the position of Abu Bakr (R.A) during the Battle of Khandaq.

Masjid Umar ibn al-Khattab

Marks the battle position of Umar (R.A), built near the trench site.

Masjid Ali ibn Abi Talib

Commemorates the position of Ali (R.A) during the trench battle.

Masjid Fatimah al-Zahra

A small mosque commemorating the Prophet's ﷺ daughter, Fatimah (R.A).

Masjid al-Qiblatain

The famous Mosque of Two Qiblas where the direction of prayer was changed to the Kaaba.

How to Visit All Seven Mosques

All seven mosques are clustered within a 2 km radius in the Al-Khandaq district, northwest of Masjid an-Nabawi. The most efficient way to visit all of them is to hire a private taxi for half a day, combined with a visit to Masjid Qiblatain which is nearby. Total tour time: approximately 2-3 hours.

Book a Private Madinah Ziyarat Tour

Visit Qiblatain, all Seven Mosques, Uhud, Quba and more in a single comfortable private tour.