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.
A person prays in a certain spot within the rows of the mosque, and gets angry if someone else prayed at his spot. What is the ruling on this behavior?
All Perfect Praise be to Allah The Lord of The Worlds and may His Peace and blessings be upon our Prophet Muhammad and upon all of his family and companions Prophet Mohammad (PBUH) make it prohibited for a Muslim from having/taking a certain spot in the mosque when performing prayers if they arrived and find it occupied, furthermore; it is the religious duty on others (praying people) to offer a piece of advice to alert the ones who don't know, that whoever reaches a spot first at the mosque having a priority/privilege upon others in that spot. And Allah 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.
If a woman becomes pure from menstruation shortly after Fajr in Ramadan, what is required of her?
If a woman becomes pure (from menstrual period) after Fajr, even shortly after, it is recommended (but not obligatory) for her to refrain from eating and drinking for the rest of the day. However, she must make up for that day after Ramadan.
She will be rewarded for both refraining from eating (imsak) and making up the fast (qada) since she was menstruating for part of the day.