Masjid al-Qiblatayn: The Mosque Where the Qibla Changed Forever
Masjid al-Qiblatayn (Arabic: مسجد القبلتين) is the place where the Ummah changed not only towards a direction but also in destiny. One divine command in Dhuhr’s prayer changed the Qibla from Jerusalem to Makkah right in the middle of Salah. No hesitation, no confusion, just pure obedience.
This one moment was the point at which Islam stood out, aligned with the Kaaba, and joined hands with a goal that was bigger than any other place. It’s not just a tale. It’s a moment when you still feel the air as you walk through the doors.
✅ TL;DR – Masjid al-Qiblatayn: Qibla Shift & Spiritual Legacy
Masjid al-Qiblatayn in Madinah is the historic mosque where the Qibla changed from Jerusalem to Makkah during a live congregational prayer led by Prophet Muhammad ﷺ. This marked a pivotal shift in Islamic identity.
Built in 2 AH (623 CE), the mosque now features stunning twin domes, intricate architecture, and remnants of the original mihrab facing Jerusalem. It’s a key stop during Umrah and Hajj Ziyarat today.
What is Masjid al-Qiblatayn? (Meaning, Name & Importance)
Meaning of the Name “Mosque of the Two Qiblas”
The Arabic name “Masjid al-Qiblatayn” literally means “the mosque of the two Qiblas.” It refers to a singular and significant event during Islam, the realignment of prayer direction from Bayt al-Maqdis in Jerusalem to the Kaaba in Makkah. At one time, the mosque was physically surrounded by two mihrabs that represented both directions. This is a unique duality, conferring on it its spiritual and symbolic status.
The switch from Jerusalem to Makkah was not just an urban one. It was also deeply spiritual and political. It was the ultimate difference between the Muslim Ummah from other Abrahamic pathways. In the end, this name is the emotional memories of unity, obedience, and revelation.
Location & Modern-Day Significance for Pilgrims
Masjid al-Qiblatayn is located on Khalid ibn al-Walid Road in northwest Madinah, about a 7-10 minute drive from Masjid al-Nabawi. For Muslims who perform Umrah or Hajj, going to the mosque in Ziyarat is a religious rite in and of itself. Like no other mosque anywhere in the world, this mosque was the centre of Islamic prayers.
Many pilgrims take time to reflect on its symmetrical structure, where the architectural beauty is amidst time-marked historical changes. The mosque was renovated in the past. However, the symbol of the transformation remains visible.
You Can Also Read
The Day the Qibla Changed (Historical Moment)
The Revelation During Dhuhr Prayer
Imagine standing alongside the Prophet while He leads you in prayer. It’s a hot afternoon around 2 AH, and you’re praising Bayt al-Maqdis like you’ve always. However, in the midst of this routine act, something extraordinary occurs. The Prophet suddenly changes direction, not in a random manner, not with a flinch and with dazzling clarity.
Surah al-Baqarah – Ayah 144
Arabic:
قَدْ نَرَىٰ تَقَلُّبَ وَجْهِكَ فِي السَّمَاءِ ۖ فَلَنُوَلِّيَنَّكَ قِبْلَةً تَرْضَاهَا ۚ فَوَلِّ وَجْهَكَ شَطْرَ الْمَسْجِدِ الْحَرَامِ ۚ وَحَيْثُ مَا كُنتُمْ فَوَلُّوا وُجُوهَكُمْ شَطْرَهُ
Transliteration:
Qad naraa taqalluba wajhika fis-samaa’ fa lanuwalliyannaka qiblatan tardaa haa, fawalli wajhaka shatra al-Masjidil-Haram. Wa haythu maa kuntum fawalloo wujoohakum shatrah.
Translation:
We have certainly seen the turning of your face toward the sky. So we will surely turn you to a Qibla that will please you. So turn your face toward al-Masjid al-Haram. And wherever you are, turn your faces toward it.
When was this verse revealed?

In 2 AH (623 CE), during the Dhuhr prayer at Masjid al-Qiblatayn in Madinah. The Prophet ﷺ was leading prayer when this verse was revealed.
Why was it revealed?
The Prophet ﷺ had been praying toward Jerusalem for 16–17 months after the Hijrah. But he deeply hoped the Kaaba in Makkah, the original house built by Prophet Ibrahim (AS), would be the new Qibla. He would often raise his face toward the sky in silent dua, longing for divine approval.
This verse came as an answer to that longing. It was a clear, public instruction from Allah honouring the Prophet’s ﷺ hope and realigning the Ummah’s spiritual direction.
What happened after it was revealed?
In the middle of the Dhuhr prayer, the Prophet ﷺ turned his body toward Makkah, and the companions followed Him instantly, without pause or question. This marked a live shift of Qibla during Salah, an act of immediate obedience that still defines the Ummah’s unity today.
It wasn’t a private event. It took place right in front of the entire congregation. The prayer direction changed in real-time during Salah. The companions didn’t question it. They didn’t hesitate. They followed. They followed the Prophet’s direction and turned mid-prayer. This was the first ever recorded congregational Salah in front of the Kaaba.
This verse wasn’t just about an alteration in the direction of the compass. It was the holy seal of acceptance for a group that was still creating its own spiritual identity. It acknowledged their longings to fulfil the Prophet’s wish and brought the heart of Islam around its destiny-driven epicentre.
Reaction of the Sahabah & Impact on Jewish Tribes
The Sahabah, may Allah be happy with them, were not ones to be in doubt after the Prophet’s revelation. The same fervour that guided them through battles, migration, and sacrifices was shining again at this very moment.
It wasn’t a simple transition in prayer direction. It was an act of affirmation of spiritual freedom. Before then, Muslims had prayed toward Jerusalem in accordance with the practices of Ahl al-Kitab (People of the Book). This shift marked the new religion.
Certain Jewish tribes from Madinah took offence. They viewed the previous alignment as evidence of continuity with their customs. When it was changed, many viewed it as a sign of betrayal. Some scholars have reported the fact that some Jewish leadership even attempted to reach a compromise: “Turn back toward Jerusalem,” they stated, “and we will believe in you.”
However, Allah has sealed the issue. Another verse, Surah al-Baqarah 2:145, was revealed:
Surah al-Baqarah – Ayah 145
Arabic:
وَلَئِنْ أَتَيْتَ ٱلَّذِينَ أُوتُواْ ٱلْكِتَٰبَ بِكُلِّ ءَايَةٍۢ مَّا تَبِعُواْ قِبْلَتَكَ ۚ وَمَآ أَنتَ بِتَابِعٍۢ قِبْلَتَهُمْ ۚ وَمَا بَعْضُهُم بِتَٰبِعٍۢ قِبْلَةَ بَعْضٍۢ ۚ وَلَئِنِ ٱتَّبَعْتَ أَهْوَآءَهُم مِّنۢ بَعْدِ مَا جَآءَكَ مِنَ ٱلْعِلْمِ ۙ إِنَّكَ إِذًۭا لَّمِنَ ٱلظَّٰلِمِينَ
Transliteration:
Wa la’in atayta alladheena ootoo al-kitaaba bikulli aayatin maa tabi’oo qiblatak, wa maa anta bitaabi’in qiblatahum, wa maa ba’duhum bitaabi’in qiblata ba’d. Wa la’ini ittaba‘ta ahwa’ahum mim ba‘di maa jaa’aka minal-‘ilm, innaka idhan lamina al-zaalimeen.
Translation:
Even if you were to bring to those who were given the Scripture every sign, they would not follow your Qibla. Nor will you follow their Qibla. And they will not follow each other’s Qibla. And if you were to follow their desires after the knowledge that has come to you, then surely you would be among the wrongdoers.
When was this verse revealed?
Shortly after Surah al-Baqarah 2:144, during the same period in 2 AH, the Prophet ﷺ turned his face toward the Kaaba during prayer at Masjid al-Qiblatayn.
Why was it revealed?
After the Qibla shift, some of the Jewish tribes in Madinah objected. They demanded the Prophet ﷺ revert to the old Qibla, Jerusalem, claiming it was the true direction. This verse was a divine response, declaring that truth had been revealed and that no amount of evidence would convince those unwilling to accept guidance. It also emphasised that each community had its path, and that Muslims would now pray toward the Sacred House in Makkah.
What does it teach us?
This ayah is a clear message that divine revelation must not be compromised for social approval or interfaith consensus. It warns that following desires over divinely revealed knowledge is a path of oppression and misguidance. For Muslims, it cemented the permanence of the Kaaba as Qibla, and for others, it served as a test of sincerity and submission.
This shift triggered a switch in alliances. Hypocrites were exposed. Some broke ties. Others, particularly among the Ansar, increased their devotion towards the Prophet Muhammad صلى الله عليه وسلم.
And the Muslims? They were proud. They were proud to be unique. It is a joy to pray to the Kaaba, which is the home constructed by Ibrahim (AS), the father of monotheism. It wasn’t just a simple turn but a complete transformation. It was about making the decision that made Muslims spiritually independent while adhering to the prophetic legacy left before them.
This one event, this single prayer, changed more than bodies. It also changed the hearts, the political stances, as well as the course of Islamic history.
Architecture and Symbolism
Twin Domes, Mihrabs & Lighting Effects
At first sight, Masjid al-Qiblatayn appears to be a beautiful mosque that has contemporary Islamic aesthetics. However, when you enter the mosque, you realise that every single thing has a meaning and that significance is rooted in a significant turning point in Islamic history. The most striking and visually appealing features are the two domes. These domes aren’t just for ornaments. One is a symbol of the present Qibla to the Kaaba. The other is located over the symbolic marker mihrab, which once surrounded Jerusalem.
The central dome is located just in front of the current mihrab, which is where all prayer rows are aligned. The clerestory windows let natural light flood in to bathe the prayer space and express divine guidance softly.
This structure does more than illuminate the space; it also raises the spirit. In the opposite direction, a fake dome is positioned on top of the area in which the former Qibla used to be facing. Below is a replica mihrab, not functional; however, it is an image of the changes.
The prayer room is adorned with barrel vaults that run in parallel with the Qibla wall. The vaults provide the mosque with a feeling of direction and rhythm, reflecting the discipline of Salah. Arches help support the vaults, giving them a sense of grandeur without being overwhelming.
The whole structure creates an elegant, geometric pattern that draws the eye towards the Kaaba-facing mihrab. This visual cue supports the idea of alignment, both physical and spiritual.
The Duality and the Design Philosophy
The thing that makes the architecture of this mosque distinctive is the way in which it physically embodies an important spiritual axis. Contrary to most mosques, which point in only one direction, this one respects its past of transition by its form.
The double mihrab concept, even if it is symbolic in the present, is a reflection of both respect for previous revelation as well as the acceptance of God’s change of direction.
Before the 1987 reconstruction under King Fahd, the mosque was home to two mihrabs in use, and the group could see both. After the renovation, only the Makkah-facing mihrab is still in use. In contrast, the Jerusalem-facing one was removed with respect but was subtly rediscovered by way of the ceiling structure and wall decoration.
The colours and the calligraphy throughout the mosque further reinforce the pilgrimage. Soft whites and creamy marble floors help make the area appear timeless. Quranic verses, particularly Surah al-Baqarah 2:144, are incorporated into the interior with elegant scripts, connecting the whole design to the moment of revelation.
The structure’s symmetry from the layout of its entry point to its courtyard creates an image of harmony between the past and the future, obedience and transformation, guidance and gratitude. This isn’t just an architectural design. It is a dialogue between divine instruction and human response. Every architectural decision reflects the heavenly dialogue.
How to Visit Masjid al-Qiblatayn in 2025

Directions, Best Times & Etiquette
If you’re considering a Ziyarat excursion within Madinah in the course of your Hajj or Umrah pilgrimage, make sure you don’t skip out on Masjid al-Qiblatayn.
It’s about 4 kilometres from the northwest corner of Masjid al-Nabawi and is easily accessible via bus, car or guided tour. Taxis will usually get you there in just fifteen minutes. Also, it’s typically one of the first or last stops on the group tour. The mosque is at Khalid ibn al-Walid Road, which is clearly marked in both Arabic and English.
The most appropriate time to visit is early in the morning following Fajr or the late afternoon prior to Maghrib, particularly on Mondays. These are times of peace, fewer crowds, and more time for contemplation. If you’re planning to visit in Ramadan, try to seek out Taraweeh in the evening when the crowds are less and the spiritual vibe grows.
Dress appropriately. Men should dress in modest, clean clothing that fully covers the body. Ladies should dress in a formal Abaya as well as a hijab. Photography isn’t a problem; however, be careful not to disturb people who are engaged in prayer or contemplation.
What to Do When You Arrive
As you enter the courtyard of the mosque, stop. Take a deep breath. This isn’t your typical mosque. It’s where the entire Ummah was turned spiritually and physically. Begin by taking two Nafl rakahs when time permits and reflect in silence on the importance of the location.
Look for the fake dome, the signifying marker in the area where you can see where the original Qibla towards Jerusalem was. Under it, you’ll find an indication of the ceiling or wall structure. Look for the symmetry to the present Qibla in which the Prophet took the Ummah into an era of new beginnings.
Make a prayer at this point. Inquire of Allah for clarity in your spiritual life as He did with the first companions. Seek a firmness of obedience. You’re in a place that has tested and confirmed the faith of the Sahabah.
If you’re a part of a group, pay attention attentively to your guide. Many tell the tale of the Qibla transition in person, and listening to it while on the same ground will bring it to life in a powerful way. Don’t rush. Allow yourself to be awed by the weight of history under your feet.
Before leaving, take a final look behind you at the direction in which you were once. Turn around, reaffirming your direction not only through prayer but with intention.
Symbolic Shift – Why the Qibla Change Still Matters Today
Unity of the Muslim Ummah
You might think changing direction in prayer is a minor adjustment. But in Islam, direction isn’t just geography. Its identity. The shift from Jerusalem to Makkah marked the birth of a distinct, united Ummah. Until then, Muslims were seen as a reformist branch of previous Abrahamic faiths. After that moment, they became their nation spiritually, theologically, and politically.
Facing the Kaaba, the House built by Ibrahim (AS) and his son Ismail (AS), reconnects Muslims with the original monotheistic mission. It was no longer a borrowed Qibla. It became their own, rooted in a deeper history, a broader message, and a stronger bond with the legacy of Tawheed.
In a way, every time you pray today, you’re participating in that original moment. You’re confirming that unity. Whether you’re in New York, Jakarta, or Madinah, every forehead touches the ground in the same direction. That spiritual alignment is what makes the Qibla shift one of the most critical milestones in Islam’s formative years.
Prophetic Wisdom & Fulfilment of Scripture
The Prophet Muhammad ﷺ didn’t ask for the Qibla to change out of personal desire. It was a matter of deep yearning, divine approval, and Prophetic insight. He used to raise his face to the sky, waiting for direction. And Allah saw that silent plea.
The shift was not random. It was a fulfilment of a prophecy known to the People of the Book that the final Prophet would reorient the Qibla. Jewish and Christian scholars of the time had texts indicating that the final Messenger would pray facing the Ancient House. That moment in Masjid al-Qiblatayn fulfilled it publicly.
It also settled theological debates. Islam was no longer seen as a branch of the previous dispensations. It was the final revelation, confirmed not just by Quranic verses but by spiritual acts like this one. The Prophet ﷺ didn’t just change the Qibla. He changed how people understood divine truth, revelation, and leadership.
So when Muslims today bow toward the Kaaba, they’re not just facing a cube in the desert. They’re facing purpose. They’re stepping into a legacy of Prophets. They’re remembering that at one point, their direction was chosen by the Creator Himself, not once, but twice, and for a reason that echoes through every Salah they pray today.
Timeline Table – From Jerusalem to Makkah
This timeline captures the key moments that transformed Masjid al-Qiblatayn from a local place of worship into a global symbol of divine direction and Islamic identity.
| Year (AH/CE) | Event |
|---|---|
| 1 AH / 622 CE | Prophet Muhammad ﷺ arrives in Madinah after Hijrah from Makkah. |
| 2 AH / 623 CE | Revelation of Quran 2:144 instructs change of Qibla to Kaaba. |
| 2 AH / 623 CE | Prayer direction changes mid-Salah at Masjid al-Qiblatayn. |
| Post-2 AH | Muslims begin praying only toward Makkah across Arabia. |
| 10 AH / 632 CE | Prophet Muhammad ﷺ delivers the Farewell Sermon, uniting the Ummah. |
| Ottoman Era | Masjid maintained and modestly renovated by Sultan Suleiman. |
| 1987 CE | Mosque completely reconstructed by order of King Fahd. |
| 2025 CE | Masjid remains one of the top Ziyarat destinations in Madinah. |
Every date in this timeline represents more than just a historical milestone. It represents the evolution of a people, from following inherited traditions to establishing a uniquely guided identity. And it all pivoted inside Masjid al-Qiblatayn, where the Ummah literally turned and never looked back.
Key Things to Remember

If there’s a mosque that genuinely captures the spirit of change in Islam, it’s Masjid al-Qiblatayn. Here’s a list of information and thoughts that will stay with you even after you’ve left, or even if you’ve just had the pleasure of learning about it.
- It was constructed during 2 AH (623 CE) by Sawad ibn Ghanam Ibn Ka’ab immediately following the Prophet’s arrival at Madinah.
- The mosque is famously renowned for hosting the live Qibla change during the gathering of Dhuhr prayer.
- The Qibla transition took place as a result of Surah al-Baqarah Verse 144, one of the strongest pivotal places within the Quran.
- In the beginning, the mosque had two mihrabs, one with a view of Jerusalem and the other that was facing Makkah.
- Following its 1987 reconstruction 1987 1987, the Jerusalem-facing mihrab was removed and replaced by the marker mihrab under a false dome.
- The layout has two domes, twin minarets and arches with barrel-vaulted arches that take attendees to the present Qibla.
- It is situated on Khalid ibn al-Walid Road, located just minutes away from Masjid al-Nabawi, and is part of nearly all Ziyarat itineraries.
- The mosque is open to visitors throughout the year and can accommodate both women and men with prayer areas that are designated.
- Quranic calligraphy inside the mosque has verses on the Qibla shift and spiritual depth to the walls.
- In the present, Masjid al-Qiblatayn is more than an architectural building, but also a recollection of a turning point in time where faith was reshaped both literally as well as metaphorically.
These aren’t just a few trivial things. They’re a milestone in the process of transformation. Each one of them is an instruction in the importance of obedience, identity, as well as divine perfection that’s just as relevant today as it was back in 2 AH.
FAQs About Masjid al-Qiblatayn
🕌 FAQs – Masjid al-Qiblatayn & the Qibla Shift
What took place at Masjid al-Qiblatayn?
Masjid al-Qiblatayn is the place where the Qibla changed during an actual prayer conducted by the Prophet Muhammad ﷺ from Jerusalem to Makkah, marking a major turning point in Islamic prayer.
What was the reason for the Qibla direction change in Islam?
Allah revealed Quran 2:144 in response to the Prophet’s ﷺ desire to face the Kaaba. This confirmed Islam’s unique prayer identity.
Who built Masjid al-Qiblatayn?
It was built by Sawad Ibn Ghanam ibn Ka’ab al-Ansari during 2 AH (623 CE) shortly after the Prophet ﷺ migrated to Madinah.
Where is Masjid al-Qiblatayn located?
Located on Khalid ibn al-Walid Road, northwest Madinah, just 10 minutes from Masjid al-Nabawi.
Is the original mihrab to Jerusalem still visible?
The original Jerusalem-facing mihrab was removed during renovations, but a symbolic marker still exists beneath a dome.
Can women pray at Masjid al-Qiblatayn?
Yes. There is a dedicated women’s prayer area, and the mosque is open to pilgrims year-round.
Is Masjid al-Qiblatayn still active today?
Yes, it remains a fully operational mosque and a key ziyarat site attracting thousands every week.
What makes Masjid al-Qiblatayn unique among Madinah mosques?
It is the only mosque where the Qibla change happened mid-prayer with the Prophet ﷺ and companions turning together.
Is Masjid al-Qiblatayn included in Ziyarat tours?
Yes. Most ziyarat tours in Madinah include this mosque due to its profound historical and spiritual value.
What should I do at Masjid al-Qiblatayn?
Pray two Nafl rak’ahs, reflect on the Qibla shift, and make dua with gratitude for this pivotal moment in Islamic history.
What is the story of Masjid al-Qiblatayn?
Founded in 623 CE, it witnessed the Qibla change during a live congregational salah led by the Prophet Muhammad ﷺ.
Which Masjid had two Qiblas?
Masjid al-Qiblatayn had two Qiblas historically — Jerusalem and then Makkah. Only the Makkah-facing mihrab is active now.
Which Masjid was ordered by Allah to be destroyed?
That was Masjid al-Dirar, mentioned in Surah al-Tawbah, destroyed due to malicious intent behind its construction.
Are Masjid Quba and Masjid al-Qiblatayn the same?
No. Masjid Quba was the first mosque in Islam. Masjid al-Qiblatayn is where the Qibla change took place. Both are in Madinah but mark different historic moments.
You Can Also Read
- Rawdah Pillars: Names, History & Meaning of Each Column
- Rawdah for Women: Timings, Access & Etiquette (2025 Update)
- Hadiths and Quranic Verses About Rawdah: Full Collection with Sources
- Rawdah Permit Guide: Nusuk Hacks, Errors & Real Experiences
- Why Rawdah Is Called the Garden of Paradise (حديقة الجنة)
- Rawdah Etiquette: What Not to Do Inside the Garden of Paradise
- Mount Uhud: The Sacred Mountain That Loved the Prophet ﷺ
- Garden of Salman Al Farsi (R.A.): 300 Date Palms and the Story of Freedom








