Hadithcore
Mishkat al-Masabih, 870

Anas said:

When the Prophet (ﷺ) said, “God listens to him who praises Him,” he stood so long that we thought he had omitted something; then he would prostrate himself and sit between the <i>sajdas</i> so long that we thought he had omitted something. Muslim transmitted it.

وَعَنْ أَنَسٍ قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا قَالَ: «سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ» قَامَ حَتَّى نَقُولَ: قَدْ أَوْهَمَ ثُمَّ يَسْجُدُ وَيَقْعُدُ بَيْنَ السَّجْدَتَيْنِ حَتَّى نَقُولَ: قَدْ أوهم. رَوَاهُ مُسلم

References1 variant
In-Book Reference
Book 4, Hadith 294