Pray standing, sitting, or on your side

Whoever cannot stand may pray sitting, and whoever cannot sit may pray lying down.

Narrated by Imran ibn Husain

I had piles, so I asked the Prophet ﷺ about the prayer. He said: "Pray standing; if you cannot, then sitting; and if you cannot, then on your side."

Sahih al-Bukhari 1117

What this hadith teaches

Prayer is never dropped while the mind is sound; it is made easier to fit the illness.

Reference and grade

Grade
Sahih (in Sahih al-Bukhari)
Narrator
Imran ibn Husain

The hadith in Arabic نص الحديث

صَلِّ قَائِمًا، فَإِنْ لَمْ تَسْتَطِعْ فَقَاعِدًا، فَإِنْ لَمْ تَسْتَطِعْ فَعَلَى جَنْبٍ

Arabic text of Sahih al-Bukhari 1117, as given on sunnah.com.