Masjid Qiblatain

In a quiet neighbourhood of Madinah stands a mosque with a story no other mosque in the world can claim: Masjid Qiblatain, the Mosque of the Two Qiblas. It was here, while the Prophet Muhammad ﷺ was leading the prayer, that the direction of prayer changed from Jerusalem to the Ka’bah in Makkah. That single moment is why pilgrims still come here today, to pray where the qibla turned and to remember how the young Muslim community found its direction. This guide tells the story of that day, explains what the Quran says about it, and describes what you will see when you visit.

Masjid Qiblatain

Masjid Qiblatain in Madinah. Photo: Wikimedia Commons.

What happened at Masjid Qiblatain?

When the Prophet ﷺ first came to Madinah, the Muslims prayed facing Jerusalem, the direction of prayer they had followed in Makkah and in the early months after the Hijrah. The Prophet ﷺ longed for the prayer to be turned toward the Ka’bah in Makkah, the house built by Ibrahim (AS), and he would look to the heavens in hope of a command. That command came while he was leading the prayer in the mosque of the Banu Salama, in the north-west of Madinah. In the middle of the prayer, the congregation turned, and from that moment the qibla of the Muslims has been the Ka’bah. It is a moment that still shapes the daily life of every Muslim, in every prayer, in every land.

What does Quran 2:144 say about the change?

The change of qibla is recorded in the Quran, in Surah al-Baqarah, verse 144: “We have certainly seen the turning of your face toward the heaven, and We will surely turn you to a qiblah with which you will be pleased. So turn your face toward al-Masjid al-Haram. And wherever you are, turn your faces toward it.” The verse goes on to tell the believers that wherever they may be, they should turn their faces toward the Sacred Mosque. For the companions, the command was a test of obedience and a mark of the community’s identity: they were no longer to face the direction of the earlier scriptures, but the house of Ibrahim, and through it their own history. When you stand in Masjid Qiblatain, you are standing where that verse was lived out.

Masjid Qiblatain — guide image

The mosque of the two qiblas. Photo: Wikimedia Commons.

What will you see at Masjid Qiblatain today?

The mosque that stands on the site today is a later rebuilding, bright and spacious, and a working neighbourhood mosque for the people who live around it. Its single mihrab faces Makkah, as every mihrab does now, and the story of the two qiblas is kept alive in its name and in the accounts that visitors hear when they come. There is no great monument to the event, and that is part of the charm of the place: it is a quiet mosque, not a crowded shrine, and you can sit for a while and think about the day the prayer turned. Look for the signs and markers inside that recall the two directions, and remember that the first direction, Jerusalem, is still honoured in Islam as the site of the Prophet’s Night Journey.

How do you visit Masjid Qiblatain?

Masjid Qiblatain stands to the north-west of the Haram area, in a residential part of the city, and most visitors reach it by a short taxi ride from Masjid an-Nabawi. It is a natural stop on a tour of Madinah’s historic mosques, and it is often visited together with the Seven Mosques and the site of the Trench. Come at a prayer time if you would like to pray there, dress as you would for any mosque, and keep your visit calm and respectful, as this is a local mosque first and a historic site second. Women have a separate prayer area, and the mosque is open for the daily prayers.

Frequently asked questions

Why is it called the Mosque of the Two Qiblas?
Because the direction of prayer was first toward Jerusalem, and then turned toward the Ka’bah in Makkah, in this mosque. The two directions give the mosque its name.

Which prayer was being prayed when the qibla changed?
The event took place during a congregational prayer led by the Prophet ﷺ at the mosque, and the worshippers turned in the middle of it. The important point is the turning itself, and the verse that commanded it.

Can I pray in Masjid Qiblatain?
Yes. It is a working mosque, open for the five daily prayers, with separate areas for men and women.

Is Masjid Qiblatain part of Umrah?
No. Visiting the mosque is not one of the rites of Umrah or Hajj. It is a recommended visit for those spending time in Madinah, and a place to reflect on a turning point in the history of prayer.

Scroll to Top