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.
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 entering the toilet with something containing the remembrance of Allah?
It is disliked to bring into the toilet anything containing a reminder of Allah, such as the Quran or a sacred name (like the name of Allah, Muhammad, etc.). If one does that, etiquette dictates that he conceal it so it is not visible while entering the toilet, either by cupping his hands over it, putting it in his pocket, or inside his shirt if it is a necklace or ring. And Allah the Almighty knows best.
Is it permissible to eat from an Udhiyah slaughtered on behalf of a deceased person?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
It is permissible to eat from the sacrifice (uḍḥiyyah) that is offered on behalf of a deceased person. This is the madhhab (school of thought) of the Hanbalis. In this case, the heirs take the place of the deceased as if he were alive, with the same rights to eat from it, give it in charity, and offer it as a gift.
It is stated in Maṭālib Uli al-Nuhā (Vol.2/P.472): "Offering a sacrifice on behalf of a deceased person is better than offering one on behalf of a living person, because the deceased is unable (to perform deeds) and is in need of reward. It is to be treated like a sacrifice on behalf of a living person in terms of eating, giving charity, and giving gifts." And Allah Almighty knows best.