Sunan an-Nasa'i, Volume 2, Book 13, Hadith 1197 (DarusSalam) ⓘ
It was narrated that 'Aishah, may Allah (SWT) be pleased with her, said: "I asked the Messenger of Allah about looking here and there during prayer. He said: 'That is something that the Shaitan snatches from one's prayer.'"
أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ، قَالَ حَدَّثَنَا عَبْدُ الرَّحْمَنِ، قَالَ حَدَّثَنَا زَائِدَةُ، عَنْ أَشْعَثَ بْنِ أَبِي الشَّعْثَاءِ، عَنْ أَبِيهِ، عَنْ مَسْرُوقٍ، عَنْ عَائِشَةَ، - رضى الله عنها - قَالَتْ سَأَلْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم عَنْ الاِلْتِفَاتِ فِي الصَّلاَةِ فَقَالَ " اخْتِلاَسٌ يَخْتَلِسُهُ الشَّيْطَانُ مِنَ الصَّلاَةِ " .
also referenced under: Hadith 1196 (Reference) & Book 13, Hadith 18 (In-Book)