What is the ruling on offering the sacrifice (uḍḥiyah) using the wealth of a minor or a legally incompetent person (safīh)?
Praise be to Allah, and peace and blessings upon our master, the Messenger of Allah.
It is not permissible for the guardian (walī) of an orphan or a legally incompetent person (safīh) to offer the sacrifice (uḍḥiyah) on behalf of the minor or the safīh using their wealth, because the guardian is charged with exercising caution over their wealth and is prohibited from giving any of it away voluntarily, and the udḥiyah is a voluntary act of charity (tabarru'). The guardian may, however, offer the sacrifice using his own personal wealth. And Allah, the Most High, 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, but not an udhiyah. And Allah Almighty knows best.
Is it permissible to pay the Zakah (obligatory charity) for settling the debt of a deceased relative?
It is impermissible to pay the Zakah for settling the debt of the deceased since Zakah is paid to eligible recipients who are alive. As for the debts of the deceased, they are to be settled from the estate before dividing it amongst the heirs, but if the deceased didn`t leave an estate, then it is desirable for his/her heirs to settle those debts if they can afford them. And Allah Knows Best.
Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.