Skip to content
العربية
Text size is now 18 points
Masjid al-Qiblatayn (Mosque of the Two Qiblahs)
Historic mosque

Masjid al-Qiblatayn (Mosque of the Two Qiblahs)

This is the mosque that saw the qiblah (the direction Muslims face in prayer) change from Bayt al-Maqdis (Jerusalem) to the Noble Ka'bah in 2 AH. The Prophet ﷺ and his Companions turned to face the new direction during the prayer itself.

View photos and video (11)

Translated from the reviewed Arabic text. The English translation has not yet had a scholar's review.

We have certainly seen the turning of your face, [O Muḥammad], toward the heaven, and We will surely turn you to a qiblah with which you will be pleased. So turn your face [i.e., yourself] toward al-Masjid al-Ḥarām.
Surah Al-Baqarah 2:144 — translation of the meaning (Saheeh International)

Worked out on your device only — your location is never sent or saved.

Visit information

Distance from the Prophet's Mosque

3.8 km from the Prophet's Mosque

Driving time

≈ 10 min

How to get there

By car or taxi: you can get there directly via Khalid ibn al-Walid Road or Sultanah Road (in the north-west of Madinah). Tour buses: the Madinah Hop-On Hop-Off Bus (the city sightseeing bus) stops regularly in the mosque's outer courtyard.

Transport cost

  • Regular taxi10–15 SAR
  • Ride-hailing apps (Uber, etc.)15–25 SAR

Traffic is heavier during the Hajj and Umrah seasons, especially just before the Friday prayer and at the times of the Maghrib (sunset) and 'Isha (night) prayers during Ramadan.

Best time to visit

Between the 'Asr (afternoon) and Maghrib (sunset) prayers, or early in the morning. This lets you enjoy the calm of the mosque, reflect on its historic importance and walk around its courtyards.

Opening status

Open around the clock (the courtyards and outer grounds are open all day; the prayer hall opens at the times of the five daily prayers and the Friday prayer).

Photo gallery

Masjid al-Qiblatayn (Mosque of the Two Qiblahs)
Masjid al-Qiblatayn (Mosque of the Two Qiblahs)
Masjid al-Qiblatayn (Mosque of the Two Qiblahs)
Masjid al-Qiblatayn (Mosque of the Two Qiblahs)
Masjid al-Qiblatayn (Mosque of the Two Qiblahs)
Masjid al-Qiblatayn (Mosque of the Two Qiblahs)
Masjid al-Qiblatayn (Mosque of the Two Qiblahs)
Masjid al-Qiblatayn (Mosque of the Two Qiblahs)

Image 1 of 10

Story and history

This is the great historic mosque that saw the qiblah in Islam change from al-Masjid al-Aqsa (Bayt al-Maqdis, Jerusalem) to the Noble Ka'bah in al-Masjid al-Haram in Makkah. It is also known as Masjid Bani Salimah (the Mosque of Banu Salimah). The change took place in the middle of the month of Sha'ban in 2 AH. The Prophet ﷺ was leading his Companions (may Allah be pleased with them) in prayer when the noble verse was revealed to him with the command to turn toward the Ka'bah. The Prophet ﷺ and the Muslims with him then turned toward the new qiblah in the middle of the prayer. This is why it was named “Masjid al-Qiblatayn” (the Mosque of the Two Qiblahs).

Virtue of visiting

Al-Bara' ibn 'Azib (may Allah be pleased with him) reported: “When the Prophet ﷺ first came to Madinah, he stayed with his grandfathers — or he said: his maternal uncles — from the Helpers (Ansar). He prayed facing Bayt al-Maqdis [Jerusalem] for sixteen or seventeen months, and he wished that his qiblah would be toward the House [the Ka'bah].” (Sahih al-Bukhari) It is recommended to visit it and to pray in it (for example, the prayer of greeting the mosque, or a voluntary prayer), drawing inspiration from the great historic event of the change of the qiblah in Islam.

Open in Maps

Ask the Guide

An automated guide powered by AI. It answers from Wafa al-Wafa, using only material approved after review, and says “I don't know” when it finds no source. It may make mistakes; the references are shown under each answer. Do not write personal information in your question.

In English, the guide translates the reviewed Arabic facts itself; only some of them have a reviewed translation.

Continue your journey with the Prophet's biography (Seerah)

You are now at the sites of the Seerah. The “Seerah” app is a free, interactive audio journey through the life of the Prophet ﷺ. It completes what you have seen here.

The app is in Arabic only.

Hidden places nearby

Last updated: August 21, 2026