أَخْبَرَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، قَالَ حَدَّثَنَا حَجَّاجٌ، قَالَ حَدَّثَنَا حَمَّادٌ، عَنْ ثَابِتٍ، وَقَتَادَةَ، وَحُمَيْدٍ، عَنْ أَنَسٍ، أَنَّهُ قَالَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يُصَلِّي بِنَا إِذْ جَاءَ رَجُلٌ فَدَخَلَ الْمَسْجِدَ وَقَدْ حَفَزَهُ النَّفَسُ فَقَالَ اللَّهُ أَكْبَرُ الْحَمْدُ لِلَّهِ حَمْدًا كَثِيرًا طَيِّبًا مُبَارَكًا فِيهِ ‏.‏ فَلَمَّا قَضَى رَسُولُ اللَّهِ صلى الله عليه وسلم صَلاَتَهُ قَالَ ‏"‏ أَيُّكُمُ الَّذِي تَكَلَّمَ بِكَلِمَاتٍ ‏"‏ فَأَرَمَّ الْقَوْمُ قَالَ ‏"‏ إِنَّهُ لَمْ يَقُلْ بَأْسًا ‏"‏ ‏.‏ قَالَ أَنَا يَا رَسُولَ اللَّهِ جِئْتُ وَقَدْ حَفَزَنِي النَّفَسُ فَقُلْتُهَا ‏.‏ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ لَقَدْ رَأَيْتُ اثْنَىْ عَشَرَ مَلَكًا يَبْتَدِرُونَهَا أَيُّهُمْ يَرْفَعُهَا ‏"‏ ‏.‏

It was narrated that Anas said: "The Messenger of Allah (PBUH) was leading us in prayer when a man came and entered the masjid, and he was out of breath. He said: 'Allahu Akbar, al-hamdulillahi hamdan kathiran tayiban mubarakan fih. (Allah is Most Great, praise be to Allah, much good and blessed praise.)' When the Messenger of Allah (PBUH) had finished his prayer he said: 'Which of you is the one who spoke these words?' The people kept quiet. He said: 'He did not say anything bad.' The man said: 'I did, O Messenger of Allah. I came and I was out of breath, and I said it.' The Prophet (PBUH) said: 'I saw twelve angels rushing to see which of them would take it up.'" Translation Not Available

Book Ref: Sunan An Nisai Book 11 Hadith 901
Web Ref:  Sunan An Nisai Vol 2 Book 11 Hadith 902