Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates: A sick person will lie on his back with his feet facing the Qiblah and perform the prayer.
Hadith Referenceسنن الدارقطني / كتاب الوتر / 1707
Hadith Takhrij«أخرجه البيهقي فى((سننه الكبير)) برقم: 3741، والدارقطني فى ((سننه)) برقم: 1707، وعبد الرزاق فى ((مصنفه)) برقم: 4130»