إذا كان يقرأ فعرض له ريحٌ فينبغي أن يُمسك عن القراءة حتى يتكامل خروجها ثم يعود إلى القراءة
If you’re reciting, and you realize that you’re passing gas, you should stop reciting until it all comes out, then you can continue reciting.
Exposition on Conduct [Al-tibyan] by Al-Nawawi