(4) Prayer
كتاب الصلاة
(20a) Chapter: What may not be done during Prayer and what is permitted - Section 1
(19) بَابُ مَا لَا يَجُوزُ مِنَ الْعَمَلِ فِي الصَّلَاةِ وَمَا يُبَاحُ مِنْهُ - الفصل الأول
Mishkat al-Masabih 982 
‘A’isha said:
I asked God’s Messenger about looking to the side during prayer and he said, “It is something which the devil snatches from a servant’s prayer.” (Bukhari and Muslim.)
وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: سَأَلَتْ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَنِ الِالْتِفَاتِ فِي الصَّلَاةِ فَقَالَ: «هُوَ اختلاس يختلسه الشَّيْطَان من صَلَاة العَبْد»
 مُتَّفَقٌ عَلَيْهِ  (الألباني)حكم :
Reference : Mishkat al-Masabih 982
In-book reference : Book 4, Hadith 404