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 on performing dry ablution (tayammum) on a wall or stone?
One of the conditions for tayammum is that it be with pure, clean dust (soil). It is not valid to perform tayammum by striking stones, a wall, sand that has no dust (i.e., that does not produce dust), pebbles alone, or clay, as these are not from the earth or its same category. And Allah the Almighty knows best.
What is the ruling on istibra' and how is it performed?
Istibra' (cleansing from urine) is recommended. It is for a person to ensure that nothing remains of urine in its passage before performing istinja'. Its method is: to clear the throat (or cough slightly), shake the penis (meaning to pass fingers along it to expel any remaining urine if needed), and walk a few steps to the extent that one thinks nothing of urine remains if walking is needed. Each person knows his own nature best. The preferred opinion is that this differs among people. The objective is for one to think that nothing remains in the urinary passage that he fears will exit later. And Allah the Almighty knows best.
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.