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 on tasting food while fasting?
Tasting food while fasting is disliked (makruh). However, if any part of the food reaches the body cavity (jauf), the fast becomes invalid.
What is the ruling on intramuscular injections? Do they break the fast?
Therapeutic injections administered under the skin or into the muscles do not break the fast, as they do not enter the body cavity (jauf) through an open passage.
However, intravenous (IV) injections that provide nourishment do break the fast because they function like food and drink in effect.
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.