Abdullah bin Sa'id bin Abi Hind narrates from one of the students of Ikrimah that the Messenger of Allah (peace and blessings be upon him) would glance (to the right and the left) during prayer, but he would not turn his neck.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2252