Abu Hurairah reported,

Whenever the Messenger of Allah ﷺ said, "Allah hears the one who praises Him," he would then say, "Our Lord, to You belongs all praise."

Ibn Majah 875

Sahih

حدثنا أبو مروان محمد بن عثمان العثماني ويعقوب بن حميد بن كاسب قالا حدثنا إبراهيم بن سعد عن ابن شهاب عن سعيد بن المسيب وأبي سلمة بن عبد الرحمن

عن أبي هريرة

أن رسول الله ﷺ كان إذا قال سمع الله لمن حمده قال ربنا ولك الحمد

ابن ماجه 875صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
What to say when raising one's head from ruku
Numbering
Darussalam 875
Ibn Majah 875