Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
What is the ruling if a postpartum woman becomes pure before forty days; are acts of worship obligatory upon her, and is she permissible for her husband?
If the postpartum woman becomes definitely pure before forty days, she must perform the ritual bath and perform acts of worship as a pure woman does. What was prohibited for her also becomes permissible, so she becomes permissible for her husband after her bath. The minimum duration for postpartum bleeding is a moment (an instant), and its usual maximum is forty days. Reaching forty days is not a condition; rather, it is sufficient for the blood to stop or to see the white discharge (qassa bayda'). And Allah the Almighty knows best.
What should the one performing the slaughter say at the time of slaughtering the 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
It is Sunnah to say the following supplication at the time of slaughtering the 'aqīqah:
"Bismillāhi wallāhu Akbar, Allāhumma laka wa ilayka, hādhihi 'aqīqatu fulān."
("In the name of Allah, and Allah is the Greatest. O Allah, this is for You and unto You — this is the 'aqīqah of [the child's name].")
This is based on what al-Bayhaqī narrated in Al-Sunan al-Kubrā (Vol.9/P.511), that the Prophet ﷺ said: "Slaughter it in his name and say: In the name of Allah, and Allah is the Greatest. O Allah, this is for You and unto You — this is the 'aqīqah of so-and-so."
And Allah Almighty knows best.
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.