[Machine] The Messenger of Allah ﷺ said: "If one of you dozes off during his prayer, he should lie down, for perhaps he intends to seek forgiveness and consequently curse himself."
قَالَ رَسُولُ اللهِ ﷺ إِذَا نَعَسَ أَحَدُكُمْ فِي صَلَاتِهِ فَلْيَنَمْ فَلَعَلَّهُ يُرِيدُ أَنْ يَسْتَغْفِرَ فَيَسُبَّ نَفْسَهُ