
Qiblatain Mosque in Medina and the Story of the Two Qiblas
Why Medina’s Mosque of the Two Qiblas is linked to the turn from Jerusalem to Mecca, what the sources record, and what later architecture commemorates.
Qiblatain Mosque in Medina is associated with the change of the Muslim prayer direction from Jerusalem to the Kaaba in Mecca. Its Arabic name, Masjid al-Qiblatayn, means Mosque of the Two Qiblas. The two directions belong to successive periods in the history of Muslim prayer. The Quran sets out the new direction, hadith reports describe how worshippers responded, and Medina’s local tradition connects the change with the mosque site. Reading each kind of evidence on its own terms explains why other places, especially Quba, also appear in accounts of the event.
What the two qiblas in the name mean
A qibla is the direction a Muslim faces in ritual prayer. From Medina, Jerusalem and Mecca lie in different directions. Earlier prayer from Medina is described in hadith as facing Bayt al-Maqdis, associated with Jerusalem. The subsequent direction is toward the Kaaba within the Sacred Mosque in Mecca. A report from the Saudi Pilgrim Experience Program places the event associated with the Medina landmark in 2 AH, corresponding to 624 CE in its account. The two directions in the name recall that transition.
That date is commonly put in the early Medina period. The account of the Hijra from Mecca to Medina explains what the migration in 622 means for a chronology expressed in Hijri years. The first years after the migration give a frame for the change reported in hadith. The approximately sixteen or seventeen months mentioned by one narrator should be read as that narrator’s period of recollection, rather than used on its own to reconstruct a civil-calendar day.
Today, the shared direction for Muslim prayer is the Kaaba. A building’s name can preserve the memory of an earlier direction even when only the later direction is used in congregational prayer. If you want to work out the direction from a particular address, the guide to qibla calculation and true north explains the geographical question. The history of the name explains a change in the place faced, independently of the method a visitor uses to find the bearing from home.
What the Quran says about turning toward Mecca
In Surah Al-Baqarah, 2:144 directs the Prophet to turn toward Al-Masjid Al-Haram, the Sacred Mosque, and tells the listeners to face that direction wherever they are. The immediately related passage includes 2:142, which raises the question of what turned people away from their earlier direction. Later, 2:149–150 returns to the command to face the Sacred Mosque. Reading the passages together gives the change both a setting in the text and a direction for prayer beyond one gathering.
The verses give the instruction and refer to the earlier direction. They do not give the name of the Medina landmark called Qiblatain Mosque or lay out the order in which each congregation learned the news. To answer those questions, compare the reports about particular worshippers and the history attached to the site. The Kaaba is the reference point for the present direction; the Sacred Mosque is the sanctuary named in the verse. That relationship explains why a hadith translation may refer to facing the Kaaba while the corresponding Quran verse names the Sacred Mosque.
How the reports describe congregations turning
The accounts below share the shift toward Mecca. Notice that the person speaking, the place identified and the prayer mentioned can change from one account to another. The rows keep those details with their own reports.
| Source | What the report describes | Location or setting named |
|---|---|---|
| Sahih Al-Bukhari 399, Al-Bara ibn Azib | After sixteen or seventeen months facing Bayt al-Maqdis, the Prophet faces the Kaaba. A man prays with him and afterwards informs people who are praying Asr. | The later worshippers are described as Ansar, members of the early Medina community. This scene does not identify a mosque by its present name. |
| Sahih Al-Bukhari 403, Ibn Umar | A person brings the instruction during Fajr, and worshippers turn from the direction they had been facing. | Quba is explicitly named. The report describes news reaching the people there. |
| Sahih Muslim 527, Anas | A person from Banu Salama announces the change to people already bowing in Fajr after one unit of prayer. They turn during the prayer. | The report refers to Banu Salama in connection with the messenger. It does not identify the prayer space by its modern name. |
Three different details sometimes get merged into one sentence in a short description of the landmark: the change of direction, the turn made in an ongoing prayer and the site that carries the name Qiblatain. The reports themselves let you distinguish them. They describe the change reaching people who were already in prayer, with Asr mentioned in one account and Fajr in others. The prayer time attached to one scene should stay with that scene when retelling it.
As you compare collections, a different number in a print edition can identify the same report. Look for the narrator and the named scene as well as the number. Al-Bara describes earlier practice and the person who goes out to tell the Ansar. Ibn Umar locates his scene at Quba. Anas describes a congregation already in the act of bowing. Those cues let you identify the passages in an edition that gives an internal chapter number instead of the running number used above.
Why Quba and Qiblatain appear in the same history
Quba Mosque and Qiblatain Mosque are two distinct places in Medina. The Quba report is one example of the new instruction being communicated to a congregation. The landmark bearing the name Qiblatain commemorates the change itself according to the tradition identified in the Saudi account. The fact that both places appear in a history of the qibla is understandable if you keep the act of receiving the instruction and the spread of that instruction in view.
For example, a person asking where the people heard the news during dawn prayer can open the Ibn Umar report to find Quba named there. A person asking why the landmark west of central Medina is called the Mosque of the Two Qiblas should start with the meaning of the name and the site tradition. These are separate questions that point to the same historical change. The history and hadith guide to Quba Mosque follows the sources associated with Quba itself, including the separate tradition about praying two units there.
How the building recalls the change
The historic association concerns the site. The surviving architecture also reflects later building work. The Aga Khan Trust for Culture’s project record in Archnet documents a twentieth-century expansion and a design with paired minarets and domes. Its account describes a prayer hall laid out toward Mecca. The main dome is above the operative mihrab, a niche that marks the prayer direction. A second dome and a feature recalling a niche in Jerusalem symbolize the change in the qibla in the design the archive records.
That symbolism is useful when someone hears about two prayer niches. A feature that invokes Jerusalem can be read as commemoration while the congregation follows the Mecca-facing prayer arrangement. The project record documents how modern designers interpreted the history. It supplies evidence about the building they created. The Quran and hadith passages are the sources to consult for the prayer direction and early reports.
A building can acquire additions long after one set of architectural drawings has been filed. On 28 February 2026 the Saudi program described a comprehensive expansion then under way with room for 3,000 worshippers as the aim of the reported work. That figure belongs to the project as described on the date of the report. It should not be read as a current count, a completion date or a description of which spaces visitors can use on a given day.
Find the site and plan a visit
Search for Masjid al-Qiblatayn, Qiblatain Mosque or the Mosque of the Two Qiblas in Medina. These are ways of identifying the same landmark in English and transliteration. The Visit Saudi listing for Masjid Al Qiblatayn gives the official destination name. If your route includes Quba or the Prophet’s Mosque as well, check the names on each stop before leaving. They identify separate sites with different approaches and surroundings.
As with an active mosque, times of prayer and building work can affect a visit. If you require a particular entrance, a step-free route or space to join worship, verify arrangements with the organizers or staff for your date. Read the guide to mosque visitor etiquette for common questions about shoes, clothing and photography. Local instructions take precedence in the prayer hall. A photograph of a building can help you recognize it, while on-site directions are the better guide to which door to use.
For a short reading before you go, read Quran 2:144, then the reports about the Ansar and the people at Quba. At the site, the name of the mosque provides the connection between those sources and the architectural memory of the transition. Together they explain why a mosque with a name that recalls Jerusalem and Mecca has one qibla for the prayers held there today.





