HOLDING ONE’S FART IN WHILE PRAYING
Q. Praying but holding myself from breaking wind. Is this allowed?
If your worry is that the salah will be invalidated then unless you actually break wind, the wudu’ will remain. The condition that invalidates the wudu’ is any actual emission of fluid (semen, urine, blood, etc.) or release (wind, gas, etc.).
And Allah knows best.