Sahih Muslim 649 i
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لاَ يَزَالُ الْعَبْدُ فِي صَلاَةٍ مَا كَانَ فِي مُصَلاَّهُ يَنْتَظِرُ الصَّلاَةَ وَتَقُولُ الْمَلاَئِكَةُ اللَّهُمَّ اغْفِرْ لَهُ اللَّهُمَّ ارْحَمْهُ . حَتَّى يَنْصَرِفَ أَوْ يُحْدِثَ "
Abu Huraira reported Allah's Messenger (ﷺ) as saying:
The servant is constantly in prayer so long as he is in a place of worship waiting for the prayer (to be observed in congregation), and the angels invoke (blessings upon him in these words): O Allah! pardon him. O Allah! show mercy to him, (and they continue to do so) till he returns (from the mosque having completed the prayer) or his ablution breaks. I said: How is the ablution broken? He said: By breaking of the wind noiselessly or with noise.
Full reference and source
Sahih Muslim 649 i In-book : Book 5, Hadith 345 USC-MSA web (English) : Book 4, Hadith 1397 (deprecated)
View source on Sunnah.com (opens in a new tab)