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 praying behind a disliked Imam?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is mildly disliked (Makruh Tanzihan) for a man—other than the permanent designated Imam (Imam Ratib)—to lead people in prayer if the majority of them dislike him due to a religiously blameworthy reason (Amr Madhmum Shar‘an), such as associating with open sinners (Fussaq), for example. As for the followers who dislike him, the prayer behind him is not disliked for them. However, if less than the majority dislike him, or if the majority dislike him for a reason that is not religiously blameworthy, then his leading the prayer is not disliked. And Allah the Exalted knows best.
Is there a solution to put an end to thinking of worries during prayer?
Firstly, make ablution after the time for prayer begins and busy yourself with remembering Allah, The Exalted, before the iqaamah (start of prayer).In order to become humbly submissive during prayer, you must perform prayer in congregation. After the prayer ends, stay in your place and read the post-prayer remembrances (Adhkaar) and make supplication to Allah, The Exalted.
What is the ruling of Islamic Law on supplicating with other than the transmitted (Ma'thur) supplications in prayer?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
It is permissible to supplicate (make du'a) during the prayer for anything from the affairs of religion or worldly life, and the prayer is not invalidated by doing so.
Shaykh al-Islam, the Imam an-Nawawi, may Allah have mercy on him, says: "Our madhhab [i.e., the Shafi'i madhhab] holds that it is permissible for a person to supplicate during it [the prayer] with anything that is permissible to supplicate with outside the prayer, from the affairs of religion or worldly life. He may say: 'O Allah, grant me wholesome sustenance, offspring, a house, and a beautiful young wife' — describing her; or: 'O Allah, free so-and-so from prison,' or 'destroy so-and-so,' and other such things — and none of this invalidates his prayer according to us. And this is also the view of Malik, ath-Thawri, Abu Thawr, and Ishaq." [Al-Majmu', Vol.3/P.454]. And Allah, the Exalted, knows best.