Masjid al-Qiblatayn (Mosque of the Two Qiblas) marks the location where, during a congregational সালাত in 2 AH (624 CE), আল-কুরআনic command was received to change the সালাত direction from Jerusalem (Bayt al-Maqdis) to মক্কা মুকাররমা (the কাবা শরীফ). The congregation turned mid-সালাত from north to south.
For approximately 16-17 months after the Hijrah to মদীনা মুনাওয়ারা, Muslims prayed facing Jerusalem (Bayt al-Maqdis), following the practice of the earlier prophets. However, নবী করীম Muhammad (সাল্লাল্লাহু আলাইহি ওয়া সাল্লাম) desired that the qibla be changed to the কাবা শরীফ in মক্কা মুকাররমা. The কুরআন records: 'We have certainly seen the turning of your face toward the heaven, and We will surely turn you to a qibla with which you will be pleased. So turn your face toward al-মসজিদুল হারাম' (2:144). This revelation came while নবী করীম was leading সালাত at what is now known as Masjid al-Qiblatayn. The congregation turned from facing Jerusalem (north) to facing মক্কা মুকাররমা (south) mid-সালাত — an unprecedented event that gave the মসজিদ its unique name.
The changing of the qibla was far more than a directional adjustment — it was a defining moment in Islamic identity. It established the কাবা শরীফ as the universal direction of Muslim সালাত, connecting the Muslim Ummah to the Ibrahimic tradition. It distinguished Islam as an independent religious tradition rather than a branch of Judaism or Christianity. It also served as a test of faith: some hypocrites and doubters used the change to question নবী করীম's authority, while true believers accepted it as divine wisdom. The কুরআন addressed the controversy directly: 'The foolish among the people will say, What has turned them away from their qibla, which they used to face? Say: To Allah belongs the east and the west. He guides whom He wills to a straight path' (2:142).
Masjid al-Qiblatayn is located approximately 4 kilometers northwest of Masjid al-Nabawi. The original মসজিদ had two mihrabs (সালাত niches) — one facing Jerusalem and one facing মক্কা মুকাররমা — symbolizing the transition. The মসজিদ has been renovated and expanded over the centuries, and the current structure is a modern building with two minarets and two domes, one white and one blue. It remains a functioning মসজিদ where the five daily সালাতs are held. For হাজীগণ, visiting this মসজিদ is a tangible connection to one of the pivotal moments in early Islamic history.