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.
What should one who doubts the validity of his ablution and performs it frequently do?
Whoever doubts the validity of his ablution after finishing it, his ablution is valid. This is because the default is the validity of the ablution, and because doubt after finishing an act of worship doesn`t affect its validity. And Allah the Almighty knows best.
Is it a condition that a woman should untie her locks while making Ghusl (ritual bath)?
Ghusl from Janabah (ritual impurity), or menstruation obligates that water reaches the roots of the hair in order for the Ghusl to be valid, but if it doesn`t, then hair locks must be untied for water to reach them, and for Ghusl to become valid.