The command to one who becomes sleepy while praying, or who starts to falter in his recitation of the Qur’an or statements of remembrance, to lie down or sit down until that goes away Sahih Muslim 784 b
Translation
A hadith like this has been narrated from the Messenger of Allah (ﷺ) on the authority of Anas by another chain of transmitters.