"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)
كَانَ رَسُولُ اللَّهِ ﷺ «يَلْتَفِتُ فِي صَلَاتِهِ يَمِينًا وَشِمَالًا وَلَا يَلْوِي عُنُقَهُ خَلْفَ ظَهْرِهِ»