The World Federation One Stop Fiqh

Ruling 871

If a person is compelled to perform prayers in a place where it is not at all possible to stand up straight, it is necessary that he perform prayers in a sitting position; and if performing rukūʿ and sujūd is not possible either, he must perform them by indications of the head.