The story of the place
Masjid Al-Qiblatayn, located in the northwest of Madinah, was originally known as Masjid Banu Salamah. It is the site where the Prophet ﷺ was leading Dhuhr (noon) prayer when revelation descended, commanding him to change the direction of the Qiblah from Bayt Al-Maqdis (Jerusalem) to the Ka‘bah in Makkah.
Allah says in the Qur’an:
“We have certainly seen the turning of your face, [O Muhammad], 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 [believers] are, turn your faces toward it [in prayer]. Indeed, those who have been given the Scripture know that it is the truth from their Lord. And Allah is not unaware of what they do.”
(Surah Al-Baqarah, 2:144)
The Prophet ﷺ had long desired to face the Ka‘bah, and Allah answered his prayer. During mid-Rajab of the second year after Hijrah, while leading Dhuhr prayer, the Prophet ﷺ turned toward Makkah during the second rak‘ah, completing the prayer in the new direction. Thus, that prayer was performed facing two qiblahs, and the mosque came to be known as Masjid Al-Qiblatayn—“The Mosque of the Two Qiblahs.”
The Banu Salamah tribe, part of the Khazraj, lived on the outskirts of Madinah. They once wished to relocate closer to the Prophet’s Mosque, but the Prophet ﷺ said to them:
“Remain in your homes; your footsteps towards it will be recorded as rewards.”
So they chose to stay where they were.
Visiting information
- Best time to visit: 06:00 AM - 11:00 PM
- Opening hours: 00:00–23:59
- Suggested visit length: 20
- Show on the map











