Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.
Is it permissible to offer an Udhiyah on behalf of the deceased?
Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Offering a sacrifice (Udhiyah) on behalf of the deceased is permissible. This is the position of the Hanbalis [Kashshaf al-Qina’ by al-Bahuti (Vol.6/P.428)], and it was held by al-Abbadi of the Shafi’is [Bidayat al-Muhtaj by Ibn Qadi Shuhbah (Vol.4/P.358)]; it is also narrated from some Maliki and Hanafi scholars.
Abu Dawud included a chapter in his Sunan titled "Chapter: Offering the Sacrifice on Behalf of the Deceased," in which he narrated from Hanash, who said: "I saw Ali (may Allah be pleased with him) sacrificing two rams. I asked him, 'What is this?' He replied, 'The Messenger of Allah (peace be upon him) enjoined me to sacrifice on his behalf, so I am sacrificing on his behalf.'"
Abu Dawud also narrated from Jabir (may Allah be pleased with him) that the Prophet (peace be upon him) said: "O Allah, this is from You and for You, on behalf of Muhammad and his Ummah; in the name of Allah, and Allah is the Greatest," then he slaughtered it. It is well known that among the Ummah of Muhammad (peace be upon him) are those who have passed away, yet he (peace be upon him) dedicated it to his entire Ummah.
Furthermore, multiple Sharia texts have consistently indicated that the rewards of righteous deeds reach the deceased. This includes the permissibility of fasting on behalf of the deceased if they died owing fasts, as well as the permissibility of performing Hajj on their behalf, both of which are established in authentic Hadiths. Since the rewards for fasting—a physical act of worship—and Hajj—a physical and financial act of worship—reach the deceased, then the sacrifice (Udhiyah) is even more likely to reach them.
Moreover, the scholars have reached a consensus (Ijma') that the rewards of charities reach the deceased, and the Udhiyah is a form of charity and falls under its general category. Based on all of this, we hold the view that offering a sacrifice on behalf of the deceased is permissible. And Allah the Almighty knows best.
What is the ruling on sacrificing a castrated animal or one with a missing tail?
Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
It is permissible to sacrifice a castrated sheep; as it has been established that the Prophet (peace be upon him) sacrificed:
"...two large, fat, horned, white-and-black, castrated rams (Mawju'ayn—meaning having crushed testicles)." [Narrated by Ibn Majah in his Sunan].
It is not permissible to sacrifice an animal that is missing its tail, rump, or udder due to being cut off. This is in contrast to an animal that was naturally born without a tail, rump, or udder; such an animal is valid for sacrifice. And Allah the Almighty knows best.
What is the ruling on wiping the head during ablution from behind a barrier like a headscarf (hijab)?
The obligation in ablution is to wipe some of the head; it is not a condition to wipe all of it. As for one who has a turban or headscarf on their head, it is permissible for them to wipe over it after wiping a part of their head in any place. This is easily done at the front of the head. This means the woman begins by wiping the front of her head from under the headscarf, then completes the wiping to the back of the head from over the headscarf. If the woman wipes over the headscarf on her head and the moisture reaches the scalp or some hair within the boundaries of the head, it suffices for wiping the head. And Allah the Almighty knows best.