What are the categories of the livestock permissible for Udhiyah?
Praise be to Allah, and peace and blessings be upon the Messenger of Allah.
The Udhiyah (sacrificial offering) is not valid except from Al-An’am (livestock), which are: camels, cattle, and sheep/goats. Allah the Almighty says {what means}: "And for every nation We have appointed a rite [of sacrifice] that they may mention the name of Allah over what He has provided for them of beast-livestock." [Al-Hajj/34]
The best of them are camels, then cattle, then sheep/goats. A sacrifice of a camel or a cow avails for seven people. Jabir (may Allah be pleased with him) said: "We sacrificed with the Messenger of Allah (peace and blessings be upon him) in the year of Al-Hudaybiyah a camel for seven and a cow for seven." [Narrated by Muslim] And Allah the 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.
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.
How many Rak`ahs (unit of prayer) are offered in Witr prayer?
All perfect praise be to Allah, The Lord of The Worlds Witr (an odd number prayer performed between Isha`a and Fajr) is offered with a minimum of one Rak`ah, and a maximum of eleven, but offering three Rak`ahs is the minimum of its complete form. And Allah Knows Best.