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 for a woman who has become pure before the end of forty days of confinement to perform different acts of worship? and is it lawful for her husband to have sex with her?
Once postpartum bleeding ceases and she is certain that it won`t happen again, she becomes pure, and so she should perform Ghusl (ritual bath), pray, and fast. She can also have sex with her husband even before the end of (40) days because the minimum of postpartum bleeding is a moment, and the maximum is (60) days. However, the postpartum bleeding for the majority of women is (40) days, but this does not apply to rest of them.
Is ablution invalidated when blood comes out of the nose, or a wound?
Blood coming out of the nose, or a wound does not invalidate ablution, but it is preferable to make ablution as a way out of the scholars disagreement in this regard.
What is the ruling on offering an Udhiyah on behalf of another with their permission?
Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
It is permissible for a person to offer a sacrifice (Udhiyah) on behalf of someone else with their permission, even if the person performing it has not offered a sacrifice for themselves. It is stated in Sharh Manhaj al-Tullab (Vol.5/P.261) by Zakariya al-Ansari: "No one may offer a sacrifice on behalf of another without their permission... as opposed to when permission has been granted." And Allah the Almighty knows best.