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 the one offering the sacrifice liable if its meat spoils?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
If the meat (of the sacrifice) spoils due to the negligence of the one offering the sacrifice in preserving it, or due to improper storage, then he is liable to compensate for the portion due to the poor (which is estimated as half a kilogram of meat). If the sacrifice was a vowed (mandatory) one, then he is liable for all of it.
However, if he was not negligent, then there is no liability upon him, because its ruling is the ruling of a trust (like an item left in someone's care). And Allah Almighty knows best.
Is it obligatory to have an intention (niyyah) for every prayer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is obligatory for the worshiper to have a specific intention (Niyyah) for every prayer, meaning they must consciously intend the act of worship they are performing. The intention is a pillar (Rukn) of the prayer, and the prayer is not valid without it. It is not a requirement to utter the intention verbally; rather, doing so is considered a recommended Sunnah. And Allah the Exalted knows best.