Jami` at-Tirmidhi 330

جامع الترمذي#330Sahih

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

Scholarly Authentication

We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:

Ahmad Muhammad ShakirSahih
Al-AlbaniSahih
Bashar Awad MaaroufHasan Sahih
Zubair Ali ZaiSahih - Agreed Upon

In-book reference: 2:182