Bulugh al-Maram 71
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَعَنْ أَبِي هُرَيْرَةَ - رضى الله عنه - قَالَ: قَالَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -{ إِذَا وَجَدَ أَحَدُكُمْ فِي بَطْنِهِ شَيْئًا, فَأَشْكَلَ عَلَيْهِ: أَخَرَجَ مِنْهُ شَيْءٌ, أَمْ لَا? فَلَا يَخْرُجَنَّ مِنْ اَلْمَسْجِدِ حَتَّى يَسْمَعَ صَوْتًا, أَوْ يَجِدَ رِيحًا } أَخْرَجَهُ مُسْلِم ٌ (90) .
Narrated Abu Huraira (rad):
Allah's Messenger (ﷺ) said: "If one of you feels disturbance in his stomach and doubts whether he has released some wind or not, then he should not leave the mosque unless he hears its sound or smells (its) odour" . [Reported by Muslim].
Full reference and source
Bulugh al-Maram 71 In-book : Book 1, Hadith 84 English translation : Book 1, Hadith 77
View source on Sunnah.com (opens in a new tab)