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.

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
| City | Madinah (Banu Salimah area) |
|---|---|
| Distance | About 5 km north-west of Masjid an-Nabawi |
| Time needed | 20–30 minutes |
| Best time | Early morning or around Dhuhr |
| Difficulty | Easy |
| Open to visitors | Yes, for prayers and visits |
Masjid al-Qiblatayn
About 5 km north-west of Masjid an-Nabawi
Open in Google MapsNearby ziyarat- Bir Uthman (Bi’r Rumah)1.3 km
- The Seven Mosques1.9 km
- Saqifah Bani Sa‘idah3.5 km
- Dar al-Madinah Museum3.5 km
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.
