أَخْبَرَنَا
يَحْيَى بْنُ حَسَّانَ، حَدَّثَنَا
سُلَيْمَانُ بْنُ بِلَالٍ، عَنْ
عَبْدِ اللَّهِ بْنِ دِينَارٍ، عَنْ
ابْنِ عُمَرَ، قَالَ: بَيْنَمَا النَّاسُ فِي صَلَاةِ الْفَجْرِ فِي قُبَاءٍ إِذْ جَاءَهُمْ رَجُلٌ، فَقَالَ: "إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ
أُنْزِلَ عَلَيْهِ الْقُرْآنُ، وَأُمِرَ أَنْ يَسْتَقْبِلَ الْكَعْبَةَ، فَاسْتَقْبِلُوهَا، وَكَانَ وَجُهُ النَّاسِ إِلَى الشَّامِ، فَاسْتَدَارُوا، فَوَجَّهُوا إِلَى الْكَعْبَةِ".
It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the people were offering the Fajr prayer in Quba when a companion came to them and said that the Qur'an has been revealed to the Messenger of Allah (peace and blessings be upon him), and he has been commanded to turn his face towards the Ka'bah. So you too turn towards the Ka'bah. And their faces were towards Shaam (Syria), then they turned around and faced the Ka'bah.
Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said: It was asked: O Messenger of Allah, what is your opinion about those people who passed away while praying facing towards Bayt al-Maqdis? So Allah Almighty revealed this noble verse: "Allah will not let your faith go to waste." [بقرة: 143/2]