كتاب الصلاة
4  
The Book of Prayers
(16)
Chapter: The Tashah-hud In The Prayer
(16)
باب التَّشَهُّدِ فِي الصَّلاَةِ ‏
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."
حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، وَابْنُ أَبِي عُمَرَ، عَنْ عَبْدِ الرَّزَّاقِ، عَنْ مَعْمَرٍ، عَنْ قَتَادَةَ، بِهَذَا الإِسْنَادِ وَقَالَ فِي الْحَدِيثِ ‏ "‏ فَإِنَّ اللَّهَ عَزَّ وَجَلَّ قَضَى عَلَى لِسَانِ نَبِيِّهِ صلى الله عليه وسلم سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ ‏"‏ ‏.‏
Reference : Sahih Muslim 404c
In-book reference : Book 4, Hadith 68
USC-MSA web (English) reference : Book 4, Hadith 802
  (deprecated numbering scheme)