Sunan Ibn Majah, Book 5, Hadith 73 (Ibn Majah 875)

It was narrated from Abu Hurairah that when the Messenger of Allah (ﷺ) said:

“Sami’ Allahu liman hamidah (Allah hears those who praise Him),” he said: “Rabbana wa lakal-hamd (O our Lord, to You is the praise).”