Mishkat al-Masabih 877
وَعَنْ رِفَاعَةَ بْنِ رَافِعٍ قَالَ: كُنَّا نُصَلِّي وَرَاءَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَلَمَّا رَفَعَ رَأْسَهُ مِنَ الرَّكْعَةِ قَالَ: «سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ» . فَقَالَ رَجُلٌ وَرَاءَهُ: رَبَّنَا وَلَكَ الْحَمْدُ حَمْدًا كَثِيرًا طَيِّبًا مُبَارَكًا فِيهِ فَلَمَّا انْصَرَفَ قَالَ: «مَنِ الْمُتَكَلِّمُ آنِفًا؟» قَالَ: أَنَا. قَالَ: «رَأَيْتُ بِضْعَةً وَثَلَاثِينَ مَلَكًا يَبْتَدِرُونَهَا أَيُّهُمْ يَكْتُبهَا أول» . رَوَاهُ البُخَارِيّ
And from Rifaʿah ibn Rafiʿ, who said: We were praying behind the Prophet ﷺ, and when he raised his head from bowing he said: "Samiʿallahu liman hamidah." A man behind him said: "Our Lord, and to You be praise, much praise, good and blessed." When he finished, he said: "Who spoke just now?" He said: "I." He said: "I saw thirty-odd angels racing to see which of them would write it down first." Reported by al-Bukhari.