صَلِّ قَائِمًا، فَإِنْ لَمْ تَسْتَطِعْ فَقَاعِدًا، فَإِنْ لَمْ تَسْتَطِعْ فَعَلَى جَنْبٍ.
Translation: Pray standing; if you cannot, then sitting; and if you cannot, then on your side.
The narration of Imran ibn Husayn, reported in Sahih al-Bukhari, establishes performance according to ability. Inability to stand permits sitting; if sitting too is impossible, one prays lying down. The duty is accommodated rather than simply cancelled.