Masjid al Qiblatayn: The Mosque of the Two Qiblahs
Ziyarat

Masjid al Qiblatayn: The Mosque of the Two Qiblahs

Masjid al Qiblatayn in Madinah is linked with the change of the qiblah from Jerusalem to the Kaaba. Learn what the hadith say, what is uncertain, and how to visit.

Updated 28 November 2026Reviewed by the UmraHajj travel team

Masjid al Qiblatayn, the “Mosque of the Two Qiblahs”, stands in the north-west of Madinah in the old district of Banu Salimah. Tradition holds that worshippers here turned in the middle of a prayer from Jerusalem to the Kaaba when news reached them of the new qiblah.

It is a favourite stop on Madinah tours and a meaningful place to reflect on obedience to Allah’s command.

Masjid al Qiblatayn in Madinah with its twin minarets
The present mosque dates from a rebuilding in the late 1980s.

The story behind Masjid al Qiblatayn

After the Hijrah, the Muslims prayed towards Bayt al-Maqdis in Jerusalem for sixteen or seventeen months, as al-Bara’ ibn ‘Azib reports in al-Bukhari. The Prophet ﷺ longed to face the Kaaba, and Allah revealed: “We have certainly seen the turning of your face towards the heaven… So turn your face towards al-Masjid al-Haram” (Qur’an 2:144).

The hadith describe the news reaching people while they were praying. Al-Bara’ says a man who had prayed with the Prophet ﷺ passed by a mosque where people were bowing and told them, and they turned towards the Kaaba as they were. Ibn ‘Umar reports a similar event at Quba during Fajr (both in al-Bukhari).

What is certain, and what is tradition

The hadith do not name the mosque. Its identification with this site in Banu Salimah comes from later historical reports about Madinah, and some accounts say the Prophet ﷺ himself was praying here when the command came. Scholars treat these details with care, so it is best to say the mosque is traditionally associated with the event.

What you will see at Masjid al Qiblatayn

The present building has twin minarets and two domes, with a clean, classical design. For many years the interior showed two mihrabs, one facing Jerusalem and one facing Makkah. After rebuilding, only the mihrab facing the Kaaba remains, which avoids confusion for worshippers. The mosque sits on a slight rise with views over the surrounding district.

Inside, the prayer hall is calm and well kept, with a separate gallery for women. Take a moment to face the qiblah and remember that every Muslim in the world now turns to the same House in Makkah, five times a day.

How to visit Masjid al Qiblatayn

The mosque is about 5 km north-west of Masjid an-Nabawi, 10 to 15 minutes by taxi. It is a regular stop on half-day tours with Quba and Uhud. Allow 20 to 30 minutes. It is open for the five daily prayers and between them, though very large groups can make it busy mid-morning; go early or around Dhuhr. There is a women’s section with its own entrance.

Masjid al Qiblatayn etiquette and the Sunnah

Practical tips

Go with a tour

Half-day tours bundle this mosque with Uhud and Quba efficiently.

Read 2:142–150

These verses explain the change of qiblah and its wisdom.

Time it with Dhuhr

Praying in congregation is easier than squeezing between tour groups.

Masjid al Qiblatayn quick facts

CityMadinah (Banu Salimah area)
DistanceAbout 5 km north-west of Masjid an-Nabawi
Time needed20–30 minutes
Best timeEarly morning or around Dhuhr
DifficultyEasy
Open to visitorsYes, for prayers and visits
Location

Masjid al-Qiblatayn

About 5 km north-west of Masjid an-Nabawi

Open in Google MapsNearby ziyarat
MadinahAdd Madinah to your UmrahNights near Masjid an-Nabawi, Rawdah permits and ziyarat — we include it in your proposal.Madinah city guide →

Pair this visit with Masjid Quba and the nearby Seven Mosques using the ziyarat route planner. Our ziyarat hub lists every site in Madinah.

Masjid al Qiblatayn: frequently asked questions

Why is it called the Mosque of the Two Qiblahs?

Because tradition holds that a prayer there began facing Jerusalem and ended facing the Kaaba after the command of Qur’an 2:144 arrived.

Are there still two mihrabs?

No. After the rebuilding, only the mihrab facing the Kaaba remains.

Is there a special reward for praying there?

No special reward is established. It is a mosque like others, with a meaningful history.

When did the qiblah change?

About sixteen or seventeen months after the Hijrah, according to al-Bukhari.

Planning your days in Madinah? Our Madinah city guide has live prayer times, the weather, the local time and every ziyarah in the city on one page.

Madinah ziyarat made easy

We can arrange a guided half-day ziyarat in Madinah with a respectful, knowledgeable guide.

Request my proposal →
Chat with us