Rifa bin Rafi reported,

We were praying one day behind the Messenger of Allah ﷺ. When he raised his head from the bowing, he said, "Allah hears whoever praises Him."A man behind him said, "Our Lord, to You belongs the praise, abundant, good, and blessed praise."When the Prophet ﷺ finished the prayer, he asked, "Who was the one who spoke just now?"The man replied, "I did."The Prophet ﷺ said, "I saw some thirty-odd angels rushing to be the first to write them down."

Azami 2073

Sahih

عن رفاعة بن رافع الزرقي قال

كنا نصلي يوما وراء رسول الله ﷺ فلما رفع رأسه من الركعة قال: سمع الله لمن حمده قال رجل وراءه: ربنا ولك الحمد حمدا كثيرا طيبا مباركا فيه، فلما انصرف قال: من المتكلم آنفا؟ فقال: أنا، قال: رأيت بضعة وثلاثين ملكا يبتدرونها أيهم يكتبهن أول.

الأعظمي 2073صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Ruku and sujud
Section
Imam saying "Allah hears the one who praises Him"
Numbering
Jami al-Kamil 2073 (2nd edition)
Azami 2073