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.
Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.
What is the ruling on someone who dies while having missed fasts?
● If a person dies before having the opportunity to make up the missed fasts—such as someone whose excuse (e.g., illness) persisted until their death—then no makeup fast (qada), fidyah, or sin applies to them.
● However, if they had the ability to make up the fasts but did not do so before passing away, the missed fasts must be compensated by giving a mudd of food for each missed day from their estate.
The Prophet ﷺ said: "Whoever dies while having a month’s fast due, one needy person should be fed per day on their behalf." [Narrated by At-Tirmidhi]
Additionally, a guardian (wali) may fast on their behalf, as the Prophet ﷺ said: "Whoever dies while having missed fasts, their guardian should fast on their behalf." [Narrated by Al-Bukhari and Muslim]
In another narration: "If they wish." This indicates that both feeding the needy and fasting on behalf of the deceased are permissible options.
What is the ruling on the ablution of one who cuts his nails, and is it permissible to cut them before the ritual bath for major impurity (janabah)?
Cutting nails does not invalidate ablution, and it is permissible to cut them before the ritual bath for major impurity. And Allah the Almighty knows best.