Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
Does the fast become invalid if water from rinsing the mouth reaches the stomach while performing ablution?
If water reaches the stomach without the fasting person exceeding normal rinsing or being excessive, their fast remains valid.
However, if they exceed the normal practice or exaggerate in rinsing, causing water to enter the stomach, their fast is invalid.
This is because excessiveness in rinsing is prohibited for a fasting person, as the Prophetﷺ said: "Exaggerate inhaling water during ablution, except when you are fasting." [Narrated by the Four Imams]
Transgression (Ta‘addi) refers to rinsing the mouth more than three times, while exaggeration (Mubalaghah) includes gargling, drawing water deep into the nasal passages, or filling the mouth with water in an unusual manner.
Someone wiped over his shoes after wearing them in a state of purity, then took them off and prayed without them?
Ablution is not invalidated by taking off leather socks or shoes after wiping over them. However, whoever takes them off after wiping must wash his feet only. If he prayed without washing his feet, he must wash his feet and repeat the prayer. And Allah the Almighty knows best.
Is prayer nullified by nose bleed?
All praise be to Allah, The Lord of The Worlds. Blood coming out of the nose, or a wound doesn`t nullify prayer regardless of its quantity. And Allah Knows Best.