Sahih Muslim 404 c
This hadith has been transmitted by Qatida with the same chain of transmitters (and the words are):
" Allah, the Exalted and the Glorious, commanded it through the tongue of His Apostle (may peace be upon-him): Allah listens to him who praises Him."
حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، وَابْنُ أَبِي عُمَرَ، عَنْ عَبْدِ الرَّزَّاقِ، عَنْ مَعْمَرٍ، عَنْ قَتَادَةَ، بِهَذَا الإِسْنَادِ وَقَالَ فِي الْحَدِيثِ ‏
"‏ فَإِنَّ اللَّهَ عَزَّ وَجَلَّ قَضَى عَلَى لِسَانِ نَبِيِّهِ صلى الله عليه وسلم سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ ‏"‏ ‏.‏