´It was narrated that Ibn 'Abbas said:` "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."
Hadith ReferenceSunan an-Nasa'i / The Book of Forgetfulness (In Prayer) / Hadith: 1202
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:إسناده حسن