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.'" (AR)
English reference (AR): Vol. 1, Book 1, Hadith 162 (AR)
Arabic reference (AR): Book 1, Hadith 163 (AR)