Sunan an-Nasa'i, Book 1, Hadith 163 (Nasa'i 163)

It was narrated that Aishah said:

"The Messenger of Allah (ﷺ) said: 'If a man feels drowsy when he is praying, let him stop, lest he supplicate against himself without realizing.'"