It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) visited a sick man, and I was with him (peace and blessings be upon him). He (peace and blessings be upon him) saw that the man was praying and was prostrating on a pillow (to make his prostration). So he (peace and blessings be upon him) forbade him from doing so and said: "If you are able to prostrate on the ground, then prostrate (properly); otherwise, merely gesture, and keep the gesture of your prostration lower (more bent) than that of the bowing."
The narrator named Hafs is weak.
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / صفة الصلاة / 556
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :قال ابن حجر: حَفْصٌ ضَعِيفٌ . » «أخرجه المعجم الكبير للطبراني برقم: 13082، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 2895، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 1348/1»