نا عَبْدُ الْوَهَّابِ بْنُ عِيسَى بْنِ أَبِي حَيَّةَ ، إِمْلاءً ، نا إِسْحَاقُ بْنُ أَبِي إِسْرَائِيلَ ، نا صَالِحُ بْنُ قُدَامَةَ أَبُو مُحَمَّدٍ ، عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ ، عَنِ ابْنِ عُمَرَ ، قَالَ : بَيْنَمَا النَّاسُ فِي صَلاةِ الصُّبْحِ فِي قُبَاءٍ إِذْ جَاءَهُمْ رَجُلٌ ، فَقَالَ : إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أنزل عَلَيْهِ اللَّيْلَةَ قُرْآنٌ وَأَمَرَهُ أَنْ يَسْتَقْبِلَ الْكَعْبَةَ أَلا فَاسْتَقْبِلُوهَا ، وَكَانَتْ وُجُوهُ النَّاسِ إِلَى الشَّامِ فَاسْتَدَارُوا مُوَجِّهِينَ إِلَى الْكَعْبَةِ " .
Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates: Once, some people were performing the morning prayer in Quba when a man came to them and said: Last night, a command of the Qur'an was revealed to the Prophet (peace and blessings be upon him). Allah has commanded him to turn his face towards the Ka'bah, so O people! You should also turn towards it. (The narrator says) At that time, their faces were towards Shaam (i.e., Bayt al-Maqdis), so they immediately turned and began to perform the prayer facing the Ka'bah.