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 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 permissible for a wife to refuse to go to bed with her husband (for sexual intercourse)?
It isn`t permissible for her to do so unless for a sound reason.
What are the categories of the livestock permissible for Udhiyah?
In the Name of Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
An Udhiyah (sacrificial offering) is only valid if it is selected from Al-An'am (livestock), which includes: camels, cattle, and sheep or goats—whether male or female, and even if castrated. Allah Almighty says {what means}: "And for all religion We have appointed a rite [of sacrifice] that they may mention the name of Allah over what He has provided for them of [sacrificial] livestock." (Al-Hajj/ 34)
In terms of preference, camels are considered the best choice, followed by cattle, then sheep, and finally goats.
A single sheep or goat is valid as a sacrifice on behalf of one person. However, a single camel or cow can be shared by up to seven people. This is based on the narration of Jabir (may Allah be pleased with him), who said: "In the year of Al-Hudaybiyah, we sacrificed along with the Messenger of Allah (peace and blessings be upon him) a camel on behalf of seven people, and a cow on behalf of seven people." (Narrated by Muslim)
(Note: The term "Badanah" used in the original Arabic text specifically refers to a camel in this context). And Allah the Almighty Knows Best.