The Prophet ﷺ drew back the curtain while the people were in rows behind Abu Bakr. 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, exalt the Lord in it. As for prostration, strive earnestly in supplication, for it is fitting that you be answered."
حدثنا مسدد حدثنا سفيان عن سليمان بن سحيم عن إبراهيم بن عبد الله بن معبد عن أبيه
أن النبي ﷺ كشف الستارة والناس صفوف خلف أبي بكر فقال يا أيها الناس إنه لم يبق من مبشرات النبوة إلا الرؤيا الصالحة يراها المسلم أو ترى له وإني نهيت أن أقرأ راكعا أو ساجدا فأما الركوع فعظموا الرب فيه وأما السجود فاجتهدوا في الدعاء فقمن أن يستجاب لكم
Muslim narrated it, The Book of Prayer, chapter on the prohibition of reciting the Quran during ruku and sujud, hadith no. 479, from the hadith of Sufyan through this same chain.