רִגְז֗וּ וְֽאַל־תֶּ֫חֱטָ֥אוּ אִמְר֣וּ בִ֭לְבַבְכֶם עַֽל־מִשְׁכַּבְכֶ֗ם וְדֹ֣מּוּ סֶֽלָה׃
너희는 떨며 범죄치 말지어다 자리에 누워 심중에 말하고 잠잠할지어다(셀라)
Mishneh Torah, Prayer and the Priestly Blessing
He then reads the first section of the Shema and sleeps. If he is overcome by drowsiness, he reads even if it be only one verse [of the Shema] or verses of a supplicatory character and sleeps.
Shulchan Arukh, Orach Chayim
One who is sick [may] pray even lying down on one's side, as long as he is able to concentrate (And if it is not possible from him to pray, nevertheless, one should meditate in one's heart, as it says "Ponder [it] on your bed" [(Psalms 4:5)] (Beit Yosef in the name of Orchot Chaim and Pesikta).