In the early years in Madinah, the Muslims faced Bayt al-Maqdis in Jerusalem for prayer. The Prophet ﷺ longed for the Qibla to be the Kaaba — and the Quran records the answer.
The change of Qibla
قَدْ نَرَىٰ تَقَلُّبَ وَجْهِكَ فِي السَّمَاءِ ۖ فَلَنُوَلِّيَنَّكَ قِبْلَةً تَرْضَاهَا ۚ فَوَلِّ وَجْهَكَ شَطْرَ الْمَسْجِدِ الْحَرَامِ ۚ
We have certainly seen the turning of your face towards the heaven, and We will surely turn you to a Qibla with which you will be pleased. So turn your face towards al-Masjid al-Haram.
According to reports in Sahih al-Bukhari, after praying towards Jerusalem for sixteen or seventeen months, the Muslims were instructed to face the Kaaba. Reports describe a congregation that turned towards Makkah in the middle of their prayer once the news reached them.
The mosque
Masjid al-Qiblatayn, in the Bani Salamah area north-west of the city centre, is traditionally identified as the place where this occurred. For centuries it had two prayer niches; after its rebuilding in the 1980s, only the niche facing the Kaaba remains.
Why it matters
The change of Qibla gave the Muslim community its own focal point and affirmed the station of the Kaaba, built by Ibrahim and Isma’il. It also tied the community to Jerusalem’s legacy as its first Qibla — which is why Al-Aqsa retains a special place in Muslim hearts.






