Abu Huraira reported God’s messenger as saying, “If any of you has a pain in his abdomen, but is doubtful whether or not anything has issued from him, he should not leave the mosque unless he hears a sound or perceives a smell.” Muslim transmitted it.
Hadith Referenceمشكوة المصابيح / كتاب الطهارة / 306
Hadith Gradingالألبانی:صَحِيحٌ | زبیر علی زئی:صحيح
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «رواه مسلم (99 / 362)»