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]
Is it permissible to eat from an Udhiyah slaughtered on behalf of a deceased person?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
It is permissible to eat from the sacrifice (uḍḥiyyah) that is offered on behalf of a deceased person. This is the madhhab (school of thought) of the Hanbalis. In this case, the heirs take the place of the deceased as if he were alive, with the same rights to eat from it, give it in charity, and offer it as a gift.
It is stated in Maṭālib Uli al-Nuhā (Vol.2/P.472): "Offering a sacrifice on behalf of a deceased person is better than offering one on behalf of a living person, because the deceased is unable (to perform deeds) and is in need of reward. It is to be treated like a sacrifice on behalf of a living person in terms of eating, giving charity, and giving gifts." And Allah Almighty knows best.
Is it permissible for a wife to leave her house without asking her husband?
It is impermissible for the wife to leave her house without asking her husband except for a sound reason.
What is the recommended supplication (Du'a) upon breaking the fast, and is it recited before or after breaking it?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
It is recommended (Mustahabb) for a fasting person to recite upon breaking the fast—that is, immediately after eating or drinking—the supplication: "Allahumma laka sumtu wa 'ala rizqika aftartu" (O Allah, for You I have fasted, and with Your provision I have broken my fast).
This is because our master, the Prophet (peace and blessings be upon him), used to say this. The narration was recorded by Abu Dawud with a good (Hasan) chain of transmission, albeit in a Mursal form (a narration where a Successor reports directly from the Prophet). Shaykh al-Islam Imam Ibn Hajar al-Haytami (may Allah have mercy upon him) stated: "Its Mursal status is inconsequential, as it pertains to virtuous deeds (Fada'il); furthermore, it was connected (Mawsul) through another chain of transmission." [Tuhfat al-Muhtaj, Vol.3/P.425]
It is also recommended to recite: "Dhahaba al-dhama'u wa ibtallat al-'uruqu wa thabata al-ajru in sha' Allah" (The thirst has gone, the veins are moistened, and the reward is confirmed, if Allah wills).
This was recorded by Abu Dawud with a good (Hasan) chain. Our leading jurists (Imams) have explicitly stated that it is recommended for the fasting person to combine both supplications.
Imam al-Bajuri (may Allah have mercy upon him) stated:
"And his saying following his breaking of the fast—that is, it is recommended to say: 'O Allah, for You I have fasted, upon Your provision I have broken my fast, in You I have believed, to You I have submitted, and upon You I have relied. The thirst has gone, the veins are moistened, and the reward is confirmed, if Allah wills. O You of vast bounty, forgive me. Praise be to Allah Who aided me so that I fasted, and provided for me so that I broke my fast. O Allah, grant us success in fasting, enable us to stand in night prayer during it, and aid us in it while people sleep, and admit us to Paradise in peace.'" [Hashiyat al-Bajuri, Vol.1/P.562]
Furthermore, the fasting person may supplicate with whatever good he or she wishes, for the supplication of a fasting person is answered. Al-Bayhaqi recorded on the authority of Anas ibn Malik that the Messenger of Allah (peace and blessings be upon him) said: "Three supplications are not rejected: the supplication of a parent for his child, the supplication of a fasting person, and the supplication of a traveler." And Allah Almighty knows best.