Sunan Ibn Majah
1370
Sahih+3

It was narrated that ‘Aishah said:“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.’”

SahihAl-Albani
SahihMuhammad Fouad Abd al-Baqi