Sunan an-Nasa'i, Book 13, Hadith 18 (Nasa'i 1198)

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.'"