حَدَّثَنَا مُحَمَّدُ بْنُ النَّضْرِ الْأَزْدِيُّ، ثنا مُعَاوِيَةُ بْنُ عَمْرٍو، ثنا زَائِدَةُ، عَنْ سِمَاكِ بْنِ حَرْبٍ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ رَضِي اللهُ عَنْهُمَا، قَالَ: «صَلَّى النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ وَمَنْ مَعَهُ نَحْوَ بَيْتِ الْمَقْدِسِ سِتَّةَ عَشَرَ شَهْرًا، ثُمَّ حُوِّلَتِ الْقِبْلَةُ بَعْدُ»
Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) says: The Prophet (peace and blessings be upon him) and his companions prayed towards Bayt al-Maqdis for sixteen months; then after that the qiblah was changed.