Ibrahim narrates: Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) said regarding the prayer of a sick person: "If he is unable (to prostrate) on the ground, let him do it by gesturing, and let him make his prostration lower than his bowing."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 9361