What is the ruling on someone who eats or drinks thinking that the night is still present, then realizes that dawn has broken?
Whoever eats or drinks thinking that the night is still present, then later discovers that dawn has broken, must refrain from eating and drinking for the rest of the day out of respect for the sacred month. However, they must make up that day after Ramadan, and there is no sin upon them.
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.
When is Istikharah (guidance prayer) Du`a offered, before Tasleem (saying asalamu alikum warahmatu allah wa barakatuh to end the prayer), or after it?
It is offered after Tasleem.
What is the ruling on wiping the white area behind the ears instead of wiping the head?
The obligation in ablution is to wipe some of the head; it is not a condition to wipe all of it. Wiping the white area behind the ears suffices for that. And Allah the almighty knows best.