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]
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.
Is it permissible for me to eat from the animal that I slaughtered for Allah to protect my family?
It is permissible to eat from the non-vowed animal sacrifice, and the person is rewarded based on the amount of meat that he had given to the poor. However, there is no evidence in Islamic Sharia indicating that slaughtering an animal protects one`s family, but it is a way for thanking Allah, The Almighty, for his grace.
Is it permissible for the children of a deceased father to settle his debt from the Zakah (obligatory charity) money due on them?
It is impermissible to use the Zakah of one`s money for settling the debts of the deceased. However, children should settle the debts of their deceased parents out of filial piety. And Allah Knows Best.