The World Federation One Stop Fiqh

Ruling 766

Someone who cannot perform prayers in a sitting position must perform them lying on his side in a way that the front of his body faces qibla. Furthermore, as far as it is possible for him to lie on his right side, he must not lie on his left side, based on obligatory precaution. If both of these positions are not possible for him, he must lie on his back in a way that the soles of his feet face qibla.