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 purchase the Udhiyah on installments?
It is permissible to purchase the sacrificial animal (uḍḥiyyah) on installments or by borrowing its price. However, it is not recommended for the poor to do so, because they are not required to offer a sacrifice, and Allah does not burden a soul beyond its capacity. If doing so would lead to negligence in providing for one's dependents (nafaqah wājibah), then giving precedence to obligatory maintenance over borrowing to buy the sacrifice is appropriate. This is based on the saying of the Prophet (peace and blessings be upon him): "It is sufficient sin for a person to withhold food from those whom he is responsible to support."
Furthermore, the sacrifice is valid from one who has a debt, but it is preferable (awlā) to repay the debt first, especially if the debt is due immediately (ḥāll). And Allah Almighty knows best.
Does buying meat equivalent to the weight of a slaughtered animal and distributing it avail for an udhiyah?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
That does not avail for the sacrifice (uḍḥiyyah), because the sacrifice necessarily requires slaughtering an animal from the category of anʿām (camels, cattle, and sheep/goats) within a specified time.
Rather, that is considered a form of charity (ṣadaqah) for which one is rewarded. And Allah Almighty knows best.
What is the wisdom and purpose behind the 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
Among the wisdoms and purposes of the 'aqīqah are the following:
First: Expressing joy at the blessing of Allah the Almighty, rejoicing in the newborn, and giving thanks to Allah for this gift. Allah the Almighty says (what means): "If you are grateful, I will surely increase you." [Ibrāhīm/7]
Second: Proclaiming and publicising the lineage (nasab) of the child — and the 'aqīqah serves as an appropriate and fitting means to this end.
Third: Gladdening the hearts of family members, relatives, friends, and the poor by gathering them together over a shared meal. And Allah Almighty knows best.