صحيح ابن خزيمه
Sahih Ibn Khuzaymah
Chapter 26
(395) بَابُ صِفَةِ صَلَاةِ الْمَرِيضِ مُضْطَجِعًا إِذَا لَمْ يَقْدِرْ عَلَى الْقِيَامِ وَلَا عَلَى الْجُلُوسِ
395 Chapter: How the Sick Person Prays Lying Down If Unable to Stand or Sit.
1 hadith
Hadith 979
Sayyiduna Imran bin Husain (may Allah be pleased with him) narrates that I had hemorrhoids, so I asked the Prophet (peace and blessings of Allah be upon him) about how to perform the prayer. He (peace be upon him) said: "Pray standing; if you are not able to stand, then pray sitting; and if you are not able to sit, then pray lying on your side." In the narration of Muhammad bin Isa, the word "bawasir" (hemorrhoids) is used instead of "nasoor" (fistula)—(the meaning is the same).