It is reported from the Prophet ﷺ in a long hadith that when the Prophet ﷺ bowed, he would say, "O Allah, to You I have bowed, in You I have believed, to You I have submitted. My hearing, my sight, my mind, my bones, and my sinews are humbled before You."When he raised his head, he would say, "O Allah, our Lord, to You belongs all praise, filling the heavens, filling the earth, filling what is between them, and filling whatever else You will."When he prostrated, he would say, "O Allah, to You I have prostrated, in You I have believed, to You I have submitted. My face has prostrated to the One who created it, fashioned it, and shaped its hearing and sight. Blessed is Allah, the best of creators."
عن النبي ﷺ في حديث طويل قال: كان النبي ﷺ يقول إذا ركع: اللهم لك ركعت، وبك آمنت، ولك أسلمت، خشع لك سمعي وبصري، ومخي وعظمي وعصبي وإذا رفع قال: اللهم ربنا لك الحمد ملء السموات وملء الأرض وملء ما بينهما وملء ما شئت من شيء بعد وإذا سجد يقول: اللهم لك سجدت، وبك آمنت، ولك أسلمت، سجد وجهي للذي خلقه، وصوره، وشق سمعه وبصره، تبارك الله أحسن الخالقين.
Muslim narrated it in the Book of the Prayer of the Traveler (771: 201) from Muhammad bin Abu Bakr Muqaddami, who said, Yusuf Majishun narrated to us, my father narrated to me, from Abdul-Rahman Araj, from Ubaydullah bin Abu Rafi, from Ali bin Abu Talib, and he related it.Ahmad also narrated it (960), and Ibn Khuzayma (607) and Ibn Hibban (1901) both graded it sahih, all of them by way of Abdullah bin Fadl, from Abdul-Rahman Araj, containing only the supplication of the ruku, adding after his words "my sinews" the phrase, "and what my feet carry, for Allah, Lord of the worlds." Its chain of transmission is sahih.As for what Nasai narrated (1128) by way of Ibn Humayr, who said, Shuayb bin Abu Hamza narrated to us, from Muhammad bin Munkadir, mentioning another narrator before him, from Abdul-Rahman bin Hurmuz Araj, from Muhammad bin Maslama, relating something similar, this is a defective narration. What is preserved is the version from Araj, from Ubaydullah bin Abu Rafi, from Ali bin Abu Talib, as Daraqutni stated in Ilal (3207).