كتاب الصلاة
2  
The Book on Salat (Prayer)
(128)
Chapter: What Has Been Related About The Virtues Of Sitting In The Masjid And Waiting For The Salat
(128)
باب مَا جَاءَ فِي الْقُعُودِ فِي الْمَسْجِدِ وَانْتِظَارِ الصَّلاَةِ مِنَ الْفَضْلِ
Jami` at-Tirmidhi 330
Abu Hurairah narrated that :
Allah's Messenger 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."
حَدَّثَنَا مَحْمُودُ بْنُ غَيْلاَنَ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، عَنْ هَمَّامِ بْنِ مُنَبِّهٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ لاَ يَزَالُ أَحَدُكُمْ فِي صَلاَةٍ مَا دَامَ يَنْتَظِرُهَا وَلاَ تَزَالُ الْمَلاَئِكَةُ تُصَلِّي عَلَى أَحَدِكُمْ مَا دَامَ فِي الْمَسْجِدِ اللَّهُمَّ اغْفِرْ لَهُ اللَّهُمَّ ارْحَمْهُ مَا لَمْ يُحْدِثْ ‏"‏ ‏.‏ فَقَالَ رَجُلٌ مِنْ حَضْرَمَوْتَ وَمَا الْحَدَثُ يَا أَبَا هُرَيْرَةَ قَالَ فُسَاءٌ أَوْ ضُرَاطٌ ‏.‏ قَالَ وَفِي الْبَابِ عَنْ عَلِيٍّ وَأَبِي سَعِيدٍ وَأَنَسٍ وَعَبْدِ اللَّهِ بْنِ مَسْعُودٍ وَسَهْلِ بْنِ سَعْدٍ ‏.‏ قَالَ أَبُو عِيسَى حَدِيثُ أَبِي هُرَيْرَةَ حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏
Grade: Sahih (Darussalam)
Reference : Jami` at-Tirmidhi 330
In-book reference : Book 2, Hadith 182
English translation : Vol. 1, Book 2, Hadith 330