What is the ruling on undoing braids of hair during the ritual bath?
It is not a condition to undo braids if the water reaches all the hair and penetrates to its base. If the water does not reach except by undoing the braids, then it is obligatory to undo them for the water to reach. And Allah the Almighty knows best.
What is the wisdom behind the legislation of fasting?
Fasting is a divine school from which the believer learns much and trains in virtues that may be needed in life. Among these virtues is patience, as it is the month of patience. Fasting also teaches honesty and consciousness of Allah in both private and public, for there is no observer over the fasting person in abstaining from lawful pleasures except Allah alone.
Fasting strengthens willpower, sharpens determination, and nurtures mercy and compassion among the servants of Allah. It is a struggle against the self, a restraint of desires, a purification of the soul, and a cultivation of goodness.
The Prophetﷺ said: "Allah, the Almighty, said: ‘Every deed of the son of Adam is for him, except for fasting; it is for Me, and I shall reward for it. Fasting is a shield. So when one of you is fasting on a day, let him not engage in obscene speech or raise his voice in anger. If someone insults him or fights him, let him say: I am a fasting person. By Him in whose hand is the soul of Muhammad, the breath of the fasting person is more pleasant to Allah than the fragrance of musk.’" [Bukhari and Muslim]
What is the ruling of Islamic Law on the prayer of zawal?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
It is recommended (sunnah) to pray four rakʿāt — either with a single tasleem or as two separate sets of two rakʿāt — immediately following the sun's decline from its zenith (zawāl). This prayer is distinct from the regular Sunnah prayer of Ẓuhr (sunnat al-ẓuhr al-rātibah), as explicitly stated by the Shāfiʿī jurists.
It is mentioned in Nihāyat al-Muḥtāj: "The prayer of zawāl is offered after the sun's decline — so were one to perform it before that, it would not count. It consists of two or four rakʿāt and is distinct from the Sunnah of Ẓuhr, as is evident from the fact that it is mentioned separately after the regular Sunnah prayers, and it becomes a make-up prayer (qaḍāʾ) if a long period of time passes by customary reckoning... Al-ʿAlqamī stated: 'Scholars refer to this as the Sunnah of Zawāl, and it is distinct from the four rakʿāt that constitute the Sunnah of Ẓuhr.' Our shaykh said: Al-Ḥāfiẓ al-ʿIrāqī stated that among those who explicitly affirmed its recommendation was al-Ghazālī in al-Iḥyāʾ, in the chapter on devotional litanies, noting that there is no tasleem between them — meaning there is no break between each pair of rakʿāt."
The time of the sun's decline (zawāl) marks the very beginning of the time for the Ẓuhr prayer.
And Allah the Almighty knows best.
Is washing the private part after urinating (Istinjaa`) a condition, and is it done with water and soap, or with water only?
Istinjaa` is obligatory for removing impurity, and it can be done with toilet paper, or a stone, or water. It is preferable to do Istinjaa` first with paper, or stone, or the like, then to wash the private part with water until making sure that the impurity has been removed. Using soap is not a condition, but there is no harm in doing so provided that it is washed off with water. It is also permissible to use either water, or paper if impurity is removed by any.