Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:330Maḥmūd b. Ghaylān > ʿAbd al-Razzāq > Maʿmar > Hammām b. Munabbih > Abū Hurayrah

Messenger of Allah said: "One of you does not cease to be in Salat as long as he is waiting for it. And the angels do not cease praying for one of you as long as he remains in the Masjid (saying): 'Allah! Forgive him. O Allah! Have mercy upon him' - as long as he does not commit Hadath." A man from Hadramawt said: "And just what is Hadath Abu Hurairah?" He said: "Breaking wind, or passing gas."  

الترمذي:٣٣٠حَدَّثَنَا مَحْمُودُ بْنُ غَيْلاَنَ حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا مَعْمَرٌ عَنْ هَمَّامِ بْنِ مُنَبِّهٍ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ لاَ يَزَالُ أَحَدُكُمْ فِي صَلاَةٍ مَا دَامَ يَنْتَظِرُهَا وَلاَ تَزَالُ الْمَلاَئِكَةُ تُصَلِّي عَلَى أَحَدِكُمْ مَا دَامَ فِي الْمَسْجِدِ اللَّهُمَّ اغْفِرْ لَهُ اللَّهُمَّ ارْحَمْهُ مَا لَمْ يُحْدِثْ فَقَالَ رَجُلٌ مِنْ حَضْرَمَوْتَ وَمَا الْحَدَثُ يَا أَبَا هُرَيْرَةَ قَالَ فُسَاءٌ أَوْ ضُرَاطٌ قَالَ وَفِي الْبَابِ عَنْ عَلِيٍّ وَأَبِي سَعِيدٍ وَأَنَسٍ وَعَبْدِ اللَّهِ بْنِ مَسْعُودٍ وَسَهْلِ بْنِ سَعْدٍ  

قَالَ أَبُو عِيسَى حَدِيثُ أَبِي هُرَيْرَةَ حَدِيثٌ حَسَنٌ صَحِيحٌ

See similar narrations below:

Collected by Aḥmad, Suyūṭī
ahmad:7892Ibrāhīm b. Khālid > ʿAbd al-Raḥman b. Būdhawayh > Man > Wahb > / Hammām > ʿAbdullāh b. Aḥmad Kadhā from my father > Abū Hurayrah

[Machine] The Messenger of Allah ﷺ said, "One of you will continue to be in prayer as long as he is waiting for the next one, and the angels will continue to pray upon one of you as long as he is in his place of worship, saying, 'O Allah, forgive him. O Allah, have mercy on him as long as he does not commit any major sin.'"  

أحمد:٧٨٩٢حَدَّثَنَا إِبْرَاهِيمُ بْنُ خَالِدٍ أَخْبَرَنِي عَبْدُ الرَّحْمَنِ بْنُ بُوذَوَيْهِ أَخْبَرَنِي مَنْ سَمِعَ وَهْبًا يَقُولُ أَخْبَرَنِي يَعْنِي هَمَّامًا قَالَ عَبْدُ اللهِ بْنُ أَحْمَدَ كَذَا قَالَ أَبِي قَالَ أَبُو هُرَيْرَةَ

قَالَ رَسُولُ اللهِ ﷺ لَا يَزَالُ أَحَدُكُمْ فِي صَلَاةٍ مَا دَامَ يَنْتَظِرُ الَّتِي بَعْدَهَا وَلَا تَزَالُ الْمَلَائِكَةُ تُصَلِّي عَلَى أَحَدِكُمْ مَا دَامَ فِي مَسْجِدِهِ تَقُولُ اللهُمَّ اغْفِرْ لَهُ اللهُمَّ ارْحَمْهُ مَا لَمْ يُحْدِثْ  

ahmad:10833ʿAbd al-Ṣamad > Ḥammād > Thābit > Abū Rāfiʿ > Abū Hurayrah

O Allah, forgive him? O Allah, take mercy on him, until he turns away, or he is defiled. He was asked: what is meant by defilement? He replied: he breaks wind gently or loudly. (Using translation from Abū Dāʾūd 471)   

أحمد:١٠٨٣٣حَدَّثَنَا عَبْدُ الصَّمَدِ حَدَّثَنَا حَمَّادٌ عَنْ ثَابِتٍ عَنْ أَبِي رَافِعٍ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ لَا يَزَالُ الْعَبْدُ فِي صَلَاةٍ مَا دَامَ يَنْتَظِرُ الصَّلَاةَ تَقُولُ الْمَلَائِكَةُ اللهُمَّ اغْفِرْ لَهُ اللهُمَّ ارْحَمْهُ مَا لَمْ يَنْصَرِفْ أَوْ يُحْدِثْ فَقِيلَ لَهُ مَا يُحْدِثُ؟ قَالَ يَفْسُو أَوْ يَضْرِطُ  

suyuti:26226a
Request/Fix translation

  

السيوطي:٢٦٢٢٦a

"لا يَزالُ أحَدُكُمْ فِي صلاةٍ مَا دَامَ يَنْتَظِرُهَا، وَلا تَزَالُ المَلائِكَةُ تُصلِّي عَلَى أحَدِكُمْ مَا كَانَ فِي المَسْجِدِ يَقُولُ: اللَّهُمَّ اغفِرْ لَهُ، اللَّهُمَّ ارْحَمهُ مَا لَمْ يُحْدِثْ.  

عبد الرزاق عن أبي هريرة