Facing the Qiblah (Direction of the Prayer)

This ruling brought comfort to the Messenger of Allah and his Companions, who were driven out of Makkah and had to depart from the area of Al-Masjid Al-Haram. In Makkah, the Messenger of Allah used to pray in the direction of Bayt Al-Maqdis, while the Ka`bah was between him and the Qiblah. When the Messenger migrated to Al-Madinah, he faced Bayt Al-Maqdis for sixteen or seventeen months, and then Allah directed him to face Al-Ka`bah in prayer. This is why Allah said,

﴿وَلِلَّهِ الْمَشْرِقُ وَالْمَغْرِبُ فَأَيْنَمَا تُوَلُّواْ فَثَمَّ وَجْهُ اللَّهِ﴾

(And to Allah belong the east and the west, so wherever you turn (yourselves or your faces) there is the Face of Allah (and He is High above, over His Throne)).

`Ali bin Abi Talhah said that Ibn `Abbas said, "The first part of the Qur'an that was abrogated was about the Qiblah. When the Messenger of Allah migrated to Al-Madinah, which was inhabited by the Jews, he was at first commanded to face Bayt Al-Maqdis. The Jews were happy, and the Messenger of Allah faced Bayt Al-Maqdis for some ten months. However, the Messenger of Allah liked to face the Qiblah of Ibrahim (Al-Ka`bah at Makkah), and he used to look to the sky and supplicate. So Allah revealed,

﴿قَدْ نَرَى تَقَلُّبَ وَجْهِكَ فِي السَّمَآءِ﴾

(Verily, We have seen the turning of your (Muhammad's) face towards the heaven) until,

﴿فَوَلُّواْ وُجُوهَكُمْ شَطْرَهُ﴾

(turn your faces (in prayer) in that direction) (2:144).

The Jews were disturbed by this development and said, `What made them change the direction of the Qiblah that they used to face' Allah revealed,

﴿قُل لّلَّهِ الْمَشْرِقُ وَالْمَغْرِبُ﴾

(Say (O Muhammad ): "To Allah belong both, east and the west'') and,

﴿فَأَيْنَمَا تُوَلُّواْ فَثَمَّ وَجْهُ اللَّهِ﴾

(So wherever you turn (yourselves or your faces) there is the Face of Allah (and He is High above, over His Throne)).''

`Ikrimah said that Ibn `Abbas said,

﴿فَأَيْنَمَا تُوَلُّواْ فَثَمَّ وَجْهُ اللَّهِ﴾

(So wherever you turn (yourselves or your faces) there is the Face of Allah (and He is High above, over His Throne)) means, "Allah's direction is wherever you face, east or west.'' Mujahid said that,

﴿فَأَيْنَمَا تُوَلُّواْ فَثَمَّ وَجْهُ اللَّهِ﴾

(So wherever you turn (yourselves or your faces) there is the Face of Allah (and He is High above, over His Throne))

means, "Wherever you may be, you have a Qiblah to face, that is, Al-Ka`bah.''

However, it was said that Allah sent down this Ayah before the order to face the Ka`bah. Ibn Jarir said, "Others said that this Ayah was revealed to the Messenger of Allah permitting the one praying voluntary prayers to face wherever they wish in the east or west, while traveling, when in fear and when facing the enemy.'' For instance, Ibn `Umar used to face whatever direction his animal was headed and proclaim that the Messenger of Allah did the same, explaining the Ayah,

﴿فَأَيْنَمَا تُوَلُّواْ فَثَمَّ وَجْهُ اللَّهِ﴾

(So wherever you turn (yourselves or your faces) there is the Face of Allah).''

That Hadith was also collected by Muslim, At-Tirmidhi, An-Nasa'i, Ibn Abi Hatim, Ibn Marduwyah, and its origin is in the Two Sahihs from Ibn `Umar and `Amr bin Rabi`ah without mentioning the Ayah. In his Sahih, Al-Bukhari recorded that Nafi` said that whenever Ibn `Umar was asked about the prayer during times of fear, he used to describe it and would then say, "When the sense of fear is worse than that, pray while standing, or while riding, whether facing the Qiblah or not.'' Nafi` then said, "I think Ibn `Umar mentioned that from the Prophet .'' It was also said that the Ayah was revealed about those who are unable to find the correct direction of the Qiblah in the dark or due to cloudy skies and, thus, prayed in a direction other than the Qiblah by mistake.