The Mosque of the Two Qiblahs in Medina is not just a historic building, but a witness to a pivotal moment in Muslim history: the change of the qibla from Al‑Aqsa Mosque to the Sacred Mosque. Today the mosque is open 24 hours following the directive of the Custodian of the Two Holy Mosques King Salman bin Abdulaziz, making it a place that can be visited at any time of the day, not only at prayer times.
Mosque of the Two Qiblahs: Location and Historical Event
The mosque is located in the Bani Salmah area to the northwest of Medina, about four kilometers from the Prophet’s Mosque. It is one of the most prominent historic Islamic landmarks in the city, as it witnessed during the time of the Prophet Muhammad, peace be upon him, the change of the qibla from Al‑Aqsa Mosque to the Sacred Mosque during the Dhuhr prayer, which occurred on the 15th of Shaʿban in the second year of Hijra.
The reason for the name is clear from the event itself: the mosque is linked to two qiblas, the qibla of Jerusalem to which the noble Prophet prayed for a period after his arrival in Medina, and the qibla of the Sacred Kaaba to which the direction was later ordered to be changed. The mosque ranks after the Prophet’s Mosque and Quba Mosque among the prophetic sites in Medina.
Duration of Prayer Toward the First Qibla and the Mosque’s Position in the Sunnah
It is reported in Sahih Muslim and Sahih Ibn Khuzaymah that the noble Prophet prayed toward the qibla of Jerusalem for a period after his arrival in Medina, which was sixteen months, then he was ordered to change the qibla to the Sacred Kaaba. This detail shows that the mosque is not based solely on a circulating oral narration, but is affirmed in the Sunnah through prophetic hadiths, and recorded in the memory of Islamic history.
Opening the Mosque 24 Hours: What It Means Practically
The Custodian of the Two Holy Mosques King Salman bin Abdulaziz Al Saud directed the opening of the Mosque of the Two Qiblahs in Medina 24 hours a day, to facilitate worshippers in performing prayers at all times. The directive was issued on Monday, October 6, 2025.
Practically, this means that anyone arriving in Medina in the late night hour or at a time between prayers will find the mosque open, instead of having to wait for a specific prayer time. Prince Salman bin Sultan bin Abdulaziz, the Emir of the Medina Region and Chairman of the Regional Development Authority, expressed his thanks to the Custodian of the Two Holy Mosques for this directive.
How to Benefit from Visiting the Mosque
- Set the visit time freely: No need to tie it to the prescribed prayer times, as the mosque is open around the clock.
- Calculate the distance from the Prophet’s Mosque: about four kilometers to the northwest, in the Bani Salmah area.
- Read about the event before arriving: Knowing that the change occurred during the Dhuhr prayer on the 15th of Shaʿban in the second year of Hijra gives the visit its meaning.
- Pay attention to Iftar times in Ramadan: Iftar meals are offered at the mosque under the supervision of the Regional Development Authority, as reported in the sources.
Fees, Responsible Authority, and Maintenance History of the Mosque
No entrance fees are mentioned for visiting the mosque in the available sources, and
فتح على مدار الساعة جاء بتوجيه من خادم الحرمين الشريفين، فيما يتولى أمير منطقة المدينة المنورة رئاسة مجلس هيئة تطوير المنطقة، وهي الجهة التي أشرفت على تقديم وجبات الإفطار في المسجد.أما تاريخ العناية بالمبنى فيمتد طويلًا: أولت الدولة السعودية منذ تأسيسها اهتمامًا خاصًا بالمسجد، إذ أمر الملك عبدالعزيز بإعادة تأهيله في عام 1931م، ثم شهد عهد الملك فهد بن عبدالعزيز توسعة للمسجد. هذه المحطات تشرح كيف وصل المبنى إلى حالته الحالية، ولماذا يُتعامل معه كمعلم يُصان لا كأثر مهجور.
Frequently Asked Questions
Is the mosque really open all day?
Yes, the Custodian of the Two Holy Mosques directed its opening 24 hours to facilitate worshippers in performing prayers at all times.
Why is the Masjid al‑Qiblatain named so?
Because it is associated with two qiblas: Jerusalem, where the Prophet prayed for sixteen months, then the Sacred Kaaba, to which the direction was ordered to be changed.
When did the qibla change occur?
During the Dhuhr prayer, on the 15th of Shaʿbān in the second year of Hijra.
How far is the mosque from the Prophet’s Mosque?
Approximately four kilometers to the northwest, in the Bani Salamah area.
Sources
- Year / Custodian of the Two Holy Mosques directs opening of Masjid al‑Qiblatain in Madinah 24 hours a day – Saudi Press Agency
- Ramadan / Masjid al‑Qiblatain… a witness to a historic event in Islam – Saudi Press Agency
- Masjid al‑Qiblatain… the story of the qibla’s shift to the Sacred House of Allah – Asharq Al‑Awsat
- Madinah… Masjid al‑Qiblatain opens its doors to worshippers around the clock – Al Arabiya
- For this reason… King Salman issues a directive regarding the “Masjid al‑Qiblatain” in Madinah – CNN Arabic
- Masjid al‑Qiblatain draws attention with its architectural design – Okaz
- Iftar meals at Masjid al‑Qiblatain under the supervision of h
