Jewish law apparently prescribes a special prayer to be used if one needs to "break wind or sneeze" while praying:"Master of the Universe, You have created us with many openings and cavities. Our shame and our disgrace are open and known before You; shame and disgrace during our lifetime, worms and insects after death."
Details here.