The Prophet ﷺ, whenever he said, "Allah hears whoever praises Him," would then say, "O Allah, to You belongs all praise, filling the heavens, filling the earth, and filling whatever else You wish."
أخبرنا أبو داود سليمان بن سيف الحراني قال حدثنا سعيد بن عامر قال حدثنا هشام بن حسان عن قيس بن سعد عن عطاء
أن النبي ﷺ كان إذا قال سمع الله لمن حمده قال اللهم لك الحمد ملء السموات وملء الأرض وملء ما شئت من شيء بعد
Muslim reported it, in the Book of Prayer, chapter on what one says when raising his head from ruku, hadith 478, from the hadith of Hisham with the same chain, and it is also in Kubra, hadith 653.