“The Messenger of Allah ﷺ used to say in his bowing and in his prostration: ‘Subbūḥ (Perfectly Pure), Quddūs (All-Holy), Lord of the angels and the Spirit.’ ” Reported by Muslim.
It is also reported from Ibn ʿAbbās (may Allah be pleased with them) that the Messenger of Allah ﷺ said: “Behold, I have been forbidden to recite the Quran while bowing or prostrating. In bowing, therefore, magnify your Lord, and in prostration strive in supplication, for it is most likely that your prayers will be answered.”
ʿAwf ibn Mālik said: “I stood in prayer with the Messenger of Allah ﷺ one night. He began by reciting Sūrat al-Baqarah, and whenever he came upon a verse that spoke of mercy he paused and asked for it, and whenever he came upon a verse of punishment he paused and sought refuge. He then bowed for a span equal to his standing, saying in his bowing: ‘Subḥāna dhīʾl-jabbarūt wal-malakūt wal-kibriyāʾ wal-ʿaẓamah (Glory be to the One who possesses absolute might and dominion, majesty and greatness).’ He said the same words in his prostration.” Reported by Abū Dāwūd and al-Nasāʾī.
Abū Hurayrah (may Allah be pleased with him) said: “When the Messenger of Allah ﷺ straightened his back after bowing he would say, ‘Samiʿa Allahu liman ḥamidah (Allah hears those who praise Him).’ While standing he would then say, ‘Rabbana wa laka ʼl-ḥamd (Our Lord, to You belongs all praise).’ In another sound narration he said, ‘Rabbana laka ʼl-ḥamd,’ and the wording agreed upon by both Ṣaḥīḥs is ‘Rabbana wa laka ʼl-ḥamd’ and ‘Allahumma rabbana laka ʼl-ḥamd.’”