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.
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 of Islamic Law if the follower (maʾmūm) stands up for the third rakʿah out of forgetfulness while the imam has sat for the middle tashahhud?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If the imam sits for the tashahhud while the follower (maʾmūm), out of forgetfulness, stands up for the third rakʿah, he is obliged to return to his sitting position, since following the imam is obligatory. In this case, no prostration of forgetfulness (sujūd al-sahw) is required of him. If, however, he fails to return, his prayer is rendered invalid.
Shaykh al-Islām Imām Zakariyyā al-Anṣārī, may Allah have mercy upon him, states: "If the follower stands up alone out of forgetfulness, he is obliged to return, since following the imam is obligatory... If he does not return, his prayer is rendered invalid, due to his departure from what is obligatory." [Asnā al-Maṭālib,Vol.1/P.190] And Allah the Almighty knows best.
Is washing the private part after urinating (Istinjaa`) a condition, and is it done with water and soap, or with water only?
Istinjaa` is obligatory for removing impurity, and it can be done with toilet paper, or a stone, or water. It is preferable to do Istinjaa` first with paper, or stone, or the like, then to wash the private part with water until making sure that the impurity has been removed. Using soap is not a condition, but there is no harm in doing so provided that it is washed off with water. It is also permissible to use either water, or paper if impurity is removed by any.