"عَنْ عَبْدِ الرَّحْمَنِ بْنِ هُرْمُزَ الأَعْرَجِ قَالَ: سَمِعْتُ أَبَا هُرَيْرَةَ يَقُولُ: إِذَا رَفَعَ الإِمَامُ رَأسَهُ مِنَ الركُوع فَقَالَ: سَمِعَ الله لَمِنْ حَمِدَهُ، قَالَ: رَبَّنَا لَكَ الْحَمْدُ".
When the Messenger of Allah ﷺ raised his head after bowing, he said: Allah listens to him who praises Him. O Allah, our lord, to Thee be the praise in the heavens and in all the earth, and all that it please Thee to create afterwards. Abu Dawud said: Sufyan al-Thawri and Shu’bah b. al-Hajjaj reported on authority of Ubaid b. al-Hasan: There is no mention of the words “after bowing” in this tradition. Sufyan said: we met al-shaikh ‘Ubaid b. al-Hasan; he did not say the words “bowing” in it. Abu dawud said: Shu’bah narrated this from Abi ‘Ismah, from al-A’mash, on the authority of ‘Ubaid, saying: “after bowing”.
سَمِعْتُ عَبْدَ اللَّهِ بْنَ أَبِي أَوْفَى يَقُولُ كَانَ رَسُولُ اللَّهِ ﷺ إِذَا رَفَعَ رَأْسَهُ مِنَ الرُّكُوعِ يَقُولُ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ اللَّهُمَّ رَبَّنَا لَكَ الْحَمْدُ مِلْءَ السَّمَوَاتِ وَمِلْءَ الأَرْضِ وَمِلْءَ مَا شِئْتَ مِنْ شَىْءٍ بَعْدُ
“When the Messenger of Allah ﷺ raised his head from Ruku’, he said: ‘Sami’ Allahu liman hamidah, Allahumma, Rabbana lakal-hamd, mil’ as-samawati wa mil’ al- ard wa mil’ ma shi’ta min shay’in ba’d (Allah hears those who praise Him. O Allah! O our Lord, to You is the praise as much as fills the heavens, as much as fills the earth and as much as You will after that).’” (Using translation from Ibn Mājah 878)
سَمِعْتُ ابْنَ أَبِي أَوْفَى يَقُولُ كَانَ رَسُولُ اللهِ ﷺ إِذَا رَفَعَ رَأْسَهُ مِنَ الرُّكُوعِ قَالَ سَمِعَ اللهُ لِمَنْ حَمِدَهُ اللهُمَّ رَبَّنَا لَكَ الْحَمْدُ مِلْءَ السَّمَاءِ وَمِلْءَ الْأَرْضِ وَمِلْءَ مَا شِئْتَ مِنْ شَيْءٍ بَعْدُ
[Machine] I prayed with the Messenger of Allah ﷺ in the month of Ramadan, and when he lifted his head from bowing, he said, "Allah has heard the one who praised Him. O our Lord, to You belongs all the praise."
صَلَّيْتُ مَعَ رَسُولِ اللهِ ﷺ فِي شَهْرِ رَمَضَانَ فَلَمَّا رَفَعَ رَأْسَهُ مِنَ الرُّكُوعِ قَالَ سَمِعَ اللهُ لِمَنْ حَمِدَهُ اللهُمَّ رَبَّنَا وَلَكَ الْحَمْدُ