“The Prophet ﷺ said: ‘If anyone of you becomes drowsy, let him sleep until he feels refreshed, for he does not know, if he prays when he feels drowsy, he may want to say words seeking forgiveness but (instead) he ends up cursing himself.’” (Using translation from Ibn Mājah 1370)
قَالَ رَسُولُ اللهِ ﷺ إِذَا نَعَسَ أَحَدُكُمْ فَلْيَرْقُدْ حَتَّى يَذْهَبَ عَنْهُ النَّوْمُ فَإِنَّهُ إِذَا صَلَّى وَهُوَ يَنْعَسُ لَعَلَّهُ يَذْهَبُ يَسْتَغْفِرُ فَيَسُبُّ نَفْسَهُ