Abdullah bin Abbas reported,

The Messenger of Allah ﷺ drew aside the curtain while his head was wrapped in a bandage, during the illness from which he died, and said, "O Allah, have I conveyed?" three times. Then he said, "Nothing remains of the glad tidings of prophethood except a righteous dream that a servant sees or that is seen for him. Indeed, I have been forbidden from reciting the Quran while bowing or prostrating. So when you bow, glorify your Lord, and when you prostrate, strive earnestly in supplication, for it is most likely to be answered for you."

Nasai 1121

Sahih

أخبرنا علي بن حجر المروزي قال أنبأنا إسمعيل هو ابن جعفر قال حدثنا سليمان بن سحيم عن إبراهيم بن عبد الله بن معبد بن عباس عن أبيه

عن عبد الله بن عباس قال

كشف رسول الله ﷺ الستر ورأسه معصوب في مرضه الذي مات فيه فقال اللهم قد بلغت ثلاث مرات إنه لم يبق من مبشرات النبوة إلا الرؤيا الصالحة يراها العبد أو ترى له ألا وإني قد نهيت عن القراءة في الركوع والسجود فإذا ركعتم فعظموا ربكم وإذا سجدتم فاجتهدوا في الدعاء فإنه قمن أن يستجاب لكم

النسائي 1121صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Placing the hands between the knees in bowing
Chapter
Command to strive in supplication during sujud
Numbering
Darussalam 1121
Nasai 1121