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.
What is the ruling of Islamic Law on leaving the Sunnah prayer of Dhuhr due to fatigue?
Praise be to Allah, and peace and blessings upon our master, the Messenger of Allah.
According to the general rule, a Muslim should strive to maintain the Sunnah prayers before and after the obligatory prayers (al-sunan al-qabliyyah wa al-ba'diyyah). One is permitted to pray them sitting from the outset, but if one leaves them due to severe fatigue, there is no objection to doing so. It is recommended (mustahabb) to make up (qadā') a time-bound supererogatory prayer (nafl mu'aqqat) at any time if it was missed.
Al-Shirbīnī (may Allah have mercy on him) said: "If a time-bound supererogatory prayer is missed, it is recommended to make it up according to the more authoritative view (al-azhar), based on the hadith recorded in the two Ṣaḥīḥs: 'Whoever sleeps through a prayer or forgets it should pray it when he remembers it.' This is also supported by the fact that the Prophet (peace and blessings be upon him) made up the two rak'ahs of Fajr when he and his companions overslept in the valley and missed the dawn prayer until the sun had risen [narrated by Abū Dāwūd with an authentic chain]." And Allah, the Most High, knows best.
Is it required for a discerning child to make the intention at night if they wish to fast?
If a discerning child wishes to fast during Ramadan, they must make the intention at night because intention is one of the pillars of fasting, even though fasting is not obligatory for them.
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.