Sahih al-Bukhari, Book 59, Hadith 100 (Bukhari 3156)

Narrated `Aisha:

I asked the Prophet (ﷺ) about one's looking here and there during the prayer. He replied, "It is what Satan steals from the prayer of any one of you."