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.
Does undergoing an endoscopy during the day in Ramadan affect the validity of fasting?
Undergoing an endoscopic procedure during the day in Ramadan—whether through the mouth, nose, front private part, or back private part—invalidates the fast.
Whoever undergoes such a procedure must refrain from eating and drinking for the rest of the day out of respect for the sacred month and make up for that day after Ramadan.
Does the clipping of nails nullify ablution?
No, it does not, and it is preferable to wash the hands afterwards.
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.