Abdullah bin Abbas reported,

The Messenger of Allah ﷺ would glance to his right and left during the prayer without turning his neck to look behind his back.

Azami 2609

Sahih

عن ابن عباس قال

إن رسول الله ﷺ كان يلحظ في الصلاة يمينا وشمالا، ولا يلوي عنقه خلف ظهره.

الأعظمي 2609صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
What is prohibited and disliked in prayer
Section
Concession for turning in prayer when there is a need
Numbering
Jami al-Kamil 2609 (2nd edition)
Azami 2609