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.
bayhaqi:2251Abū ʿAmr al-Adīb al-Zarjāhī > Abū Aḥmad al-Ḥusayn b. ʿAlī al-Tamīmī

[Machine] That the Messenger of Allah ﷺ used to look to his right and left during his prayer and he would not turn his neck back like this behind his back.  

البيهقي:٢٢٥١أَخْبَرَنَا أَبُو عَمْرٍو الْأَدِيبُ الزَّرْجَاهِيُّ ثنا أَبُو أَحْمَدَ الْحُسَيْنُ بْنُ عَلِيٍّ التَّمِيمِيُّ أنبأ أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ إِسْحَاقَ الثَّقَفِيُّ ثنا مَحْمُودُ بْنُ غَيْلَانَ الْمَرْوَزِيُّ وَأَخْبَرَنَا أَبُو مُحَمَّدٍ جَعْفَرُ بْنُ مُحَمَّدِ بْنِ الْحُسَيْنِ الْأَبْهَرِيُّ الصُّوفِيُّ بِهَمْدَانَ ثنا جَبْرَائِيلُ بْنُ مُحَمَّدِ بْنِ إِسْمَاعِيلَ بِهَمْدَانَ ثنا مُحَمَّدُ بْنُ حَيْوَيْهَ ثنا مَحْمُودُ بْنُ غَيْلَانَ ثنا الْفَضْلُ بْنُ مُوسَى السِّينَانِيُّ ثنا عَبْدُ اللهِ بْنُ سَعِيدِ بْنِ أَبِي هِنْدٍ عَنْ ثَوْرِ بْنِ زَيْدٍ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ

أَنَّ رَسُولَ اللهِ ﷺ كَانَ يَلْحَظُ فِي صَلَاتِهِ يَمِينًا وَشِمَالًا وَلَا يَلْوِي عُنُقَهُ خَلْفَ ظَهْرِهِ هَكَذَا  

رَوَاهُ الْفَضْلُ بْنُ مُوسَى وَخَالَفَهُ غَيْرُهُ وَرَوَاهُ مُنْقَطِعًا

See similar narrations below:

Collected by Tirmidhī, Nasāʾī's Kubrá
tirmidhi:587Maḥmūd b. Ghaylān And Ghayr Wāḥid > al-Faḍl b. Mūsá > ʿAbdullāh b. Saʿīd b. Abū Hind > Thawr b. Zayd > ʿIkrimah > Ibn ʿAbbās > Rasūl

"The Messenger of Allah would glance toward the right and the left during Salat but he would not turn his neck to look behind him."  

الترمذي:٥٨٧حَدَّثَنَا مَحْمُودُ بْنُ غَيْلاَنَ وَغَيْرُ وَاحِدٍ قَالُوا حَدَّثَنَا الْفَضْلُ بْنُ مُوسَى عَنْ عَبْدِ اللَّهِ بْنِ سَعِيدِ بْنِ أَبِي هِنْدٍ عَنْ ثَوْرِ بْنِ زَيْدٍ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ

أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ يَلْحَظُ فِي الصَّلاَةِ يَمِينًا وَشِمَالاً وَلاَ يَلْوِي عُنُقَهُ خَلْفَ ظَهْرِهِ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ غَرِيبٌ وَقَدْ خَالَفَ وَكِيعٌ الْفَضْلَ بْنَ مُوسَى فِي رِوَايَتِهِ
nasai-kubra:534Isḥāq b. Ibrāhīm > al-Faḍl b. Mūsá > ʿAbdullāh b. Saʿīd b. Abū Hind > Thawr b. Zayd > ʿIkrimah > Ibn ʿAbbās

"The Messenger of Allah ﷺ used to turn to his right and left when praying, but he did not twist his neck to look behind him." (Using translation from Nasāʾī 1201)   

الكبرى للنسائي:٥٣٤أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ قَالَ أَخْبَرَنَا الْفَضْلُ بْنُ مُوسَى قَالَ حَدَّثَنَا عَبْدُ اللهِ بْنُ سَعِيدِ بْنِ أَبِي هِنْدَ عَنْ ثَوْرِ بْنِ زَيْدٍ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ قَالَ

«كَانَ رَسُولُ اللهِ ﷺ يَلْحَظُ فِي صَلَاتِهِ يَمِينًا وَشِمَالًا وَلَا يَلْوِي عُنُقَهُ خَلْفَ ظَهْرِهِ»