The Prophet (ﷺ) said: Allah, the Most High, continues to turn favourably towards a servant while he is engaged in prayer as long as he does not look to the side (by turning the neck), but if he does so, He turns away from him.
Reference: Sunan Abi Dawud 909 In-book : Book 2, Hadith 520 English translation : Book 3, Hadith 909
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.