It was narrated from Anas that the Messenger of Allah (ﷺ) said:
"If anyone of you feels drowsy during his Salah, let him go and take a nap."