(حديث مرفوع) حَدَّثَنَا
يَحْيَى بْنُ حَمَّادٍ ، حَدَّثَنَا
أَبُو عَوَانَةَ ، عَنِ
الْأَعْمَشِ ، عَنْ
مُجَاهِدٍ ، عَنِ
ابْنِ عَبَّاسٍ ، قَالَ " كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُصَلِّي وَهُوَ بِمَكَّةَ نَحْوَ بَيْتِ الْمَقْدِسِ ، وَالْكَعْبَةُ بَيْنَ يَدَيْهِ ، وَبَعْدَ مَا هَاجَرَ إِلَى الْمَدِينَةِ سِتَّةَ عَشَرَ شَهْرًا ، ثُمَّ صُرِفَ إِلَى الْكَعْبَةِ " .
It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him), as long as he remained in Makkah, used to pray facing Bayt al-Maqdis, and the Ka'bah was in front of him. After the migration, for sixteen months, the Prophet (peace and blessings be upon him) continued to pray facing Bayt al-Maqdis, and later he was turned towards the Ka'bah.