´It was narrated that ‘Imran bin Husain said:` “I suffered from Nasur* and I asked the Prophet (ﷺ) about prayer. He said: ‘Perform prayer standing; if you cannot, then sitting; and if you cannot then while lying on your side.’”
Hadith ReferenceSunan Ibn Majah / Establishing the Prayer and the Sunnah Regarding Them / Hadith: 1223