Abdullah bin Abbas reported,

The Messenger of Allah ﷺ drew back the curtain while the people stood in rows behind Abu Bakr, and he said, "People, nothing remains of the glad tidings of prophethood except the righteous dream that a Muslim sees or that is seen for him. I have been forbidden to recite the Quran while bowing or prostrating. As for bowing, magnify the Lord عز وجل in it, and as for prostration, strive earnestly in supplication, for it is fitting that you be answered."

Azami 2108

Sahih

عن ابن عباس قال

كشف رسول الله ﷺ الستارة، والناس صفوف خلف أبي بكر، فقال: أيها الناس إنه لم يبق من مبشرات النبوة إلا الرؤيا الصالحة يراها المسلم أو ترى له؛ ألا وإني نهيت أن أقرأ القرآن راكعا أو ساجدا، فأما الركوع فعظموا فيه الرب عز وجل، وأما السجود فاجتهدوا في الدعاء. فقمن أن يستجاب لكم.

الأعظمي 2108صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Ruku and sujud
Section
Prohibition of reciting the Quran during ruku and sujud
Numbering
Jami al-Kamil 2108 (2nd edition)
Azami 2108