Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:11751Muḥammad b. al-Naḍr al-Azdī > Muʿāwiyah b. ʿAmr > Zāʾidah > Simāk b. Ḥarb > ʿIkrimah > Ibn ʿAbbās

[Machine] The Prophet ﷺ and those with him prayed towards the direction of Jerusalem for about sixteen months, then the qibla (direction of prayer) was changed.  

الطبراني:١١٧٥١حَدَّثَنَا مُحَمَّدُ بْنُ النَّضْرِ الْأَزْدِيُّ ثنا مُعَاوِيَةُ بْنُ عَمْرٍو ثنا زَائِدَةُ عَنْ سِمَاكِ بْنِ حَرْبٍ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ ؓ قَالَ

«صَلَّى النَّبِيُّ ﷺ وَمَنْ مَعَهُ نَحْوَ بَيْتِ الْمَقْدِسِ سِتَّةَ عَشَرَ شَهْرًا ثُمَّ حُوِّلَتِ الْقِبْلَةُ بَعْدُ»  


See similar narrations below:

Collected by Bukhārī, Aḥmad, Suyūṭī
bukhari:4492Muḥammad b. al-Muthanná > Yaḥyá > Sufyān > Abū Isḥāq > al-Barāʾ

We prayed along with the Prophet ﷺ facing Jerusalem for sixteen or seventeen months. Then Allah ordered him to turn his face towards the Qibla (in Mecca):-- "And from whence-so-ever you start forth (for prayers) turn your face in the direction of (the Sacred Mosque of Mecca) Al-Masjid-ul Haram.." (2.149)  

البخاري:٤٤٩٢حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى حَدَّثَنَا يَحْيَى عَنْ سُفْيَانَ حَدَّثَنِي أَبُو إِسْحَاقَ قَالَ سَمِعْتُ الْبَرَاءَ ؓ قَالَ

صَلَّيْنَا مَعَ النَّبِيِّ ﷺ نَحْوَ بَيْتِ الْمَقْدِسِ سِتَّةَ عَشَرَ أَوْ سَبْعَةَ عَشَرَ شَهْرًا ثُمَّ صَرَفَهُ نَحْوَ الْقِبْلَةِ  

ahmad:2252Ḥusayn b. ʿAlī > Zāʾidah > Simāk b. Ḥarb > ʿIkrimah > Ibn ʿAbbās

[Machine] The Messenger of Allah ﷺ and his companions prayed towards the House of Al-Masjid al-Aqsa for sixteen months, then the direction of prayer was changed.  

أحمد:٢٢٥٢حَدَّثَنَا حُسَيْنُ بْنُ عَلِيٍّ عَنْ زَائِدَةَ عَنْ سِمَاكِ بْنِ حَرْبٍ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ قَالَ

صَلَّى رَسُولُ اللهِ ﷺ وَأَصْحَابُهُ إِلَى بَيْتِ الْمَقْدِسِ سِتَّةَ عَشَرَ شَهْرًا ثُمَّ صُرِفَتِ الْقِبْلَةُ بَعْدُ  

ahmad:3270Ḥusayn b. ʿAlī > Zāʾidah > Simāk > ʿIkrimah > Ibn ʿAbbās

[Machine] The Messenger of Allah ﷺ and his companions prayed towards Al-Masjid Al-Aqsa for sixteen months, then the Qibla (direction of prayer) was changed.  

أحمد:٣٢٧٠حَدَّثَنَا حُسَيْنُ بْنُ عَلِيٍّ عَنْ زَائِدَةَ عَنْ سِمَاكٍ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ قَالَ

صَلَّى رَسُولُ اللهِ ﷺ وَأَصْحَابُهُ إِلَى بَيْتِ الْمَقْدِسِ سِتَّةَ عَشَرَ شَهْرًا ثُمَّ صُرِفَتِ الْقِبْلَةُ بَعْدُ  

suyuti:420-20b
Request/Fix translation

  

السيوطي:٤٢٠-٢٠b

"صَلَّى رَسُولُ الله ﷺ وَأَصْحَابُهُ إِلَى بَيْتِ الْمَقْدِسِ سِتَّة عَشَرَ شَهْرًا، ثُمَّ حُوِّلتْ الْقِبْلَةُ بَعْدُ".  

[ش] ابن أبى شيبة