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.
How do I deal with whispers (waswasa) in ablution and purification?
Whispers in ablution are from Satan, and the Muslim should not pay attention to them. He is not required to re-perform ablution or repeat washing a limb because of waswasa. He should always base his purification on its being valid. It is recommended for him to frequently say "La ilaha illa Allah" (There is no god but Allah), because Satan recoils when Allah is mentioned. And Allah the Almighty knows best.
Is it a condition for I‘tikaf to be performed in the mosque?
Yes, for I‘tikaf to be valid, it must be performed in a mosque. I‘tikaf is not valid if performed at home or elsewhere.
What is the ruling on performing istinja' after passing wind from the anus?
Ablution is invalidated by passing wind from the anus, even without a smell. Only ablution becomes obligatory from it. Istinja' is not obligatory nor recommended. And Allah the Almighty knows best.