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.
What is required of one who doubts the number of rakʿāt during prayer?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a person doubts the number of rakʿāt he has prayed, he should build upon the lesser number, as that is what he is certain of. He should then perform the prostration of forgetfulness (sujūd al-sahw) before the final salām at the end of the prayer. ʿAṭāʾ ibn Yasār narrated that the Messenger of Allah ﷺ said: "When any one of you is in doubt during his prayer and does not know whether he has prayed three rakʿāt or four, let him pray one more rakʿah and then perform two prostrations while seated before the salām. If the rakʿah he prayed was a fifth, these two prostrations will make it even; and if it was the fourth, then the two prostrations serve as a humiliation for the devil." (Reported by Abū Dāwūd.)
It is stated in al-Muqaddimah al-Ḥaḍramiyyah — one of the foundational texts of the Shāfiʿī school: "If one doubts whether he has prayed three rakʿāt or four, he is obliged to build upon the lesser number."
However, if such doubt recurs repeatedly and reaches the level of obsessive whispering (waswasah), he should not build upon the lesser number in that case — rather, he should build upon the greater number. And Allah the Almighty knows best.
What is the ruling on performing the Witr prayer as a single rak`ah?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible to perform the Witr prayer as a single unit (rak‘ah). It was narrated from Ibn ‘Umar that a man asked the Messenger of Allah ﷺ about the night prayer, and the Messenger of Allah ﷺ replied: 'The night prayer is offered two by two (mathna mathna). If one of you fears the approach of dawn, let him pray a single rak‘ah to make what he has prayed odd-numbered (Witr) for him.' (Related by al-Bukhari & Muslim)). However, limiting the prayer to only one rak‘ah is considered 'contrary to the preferred way' (Khilaf al-Awla).
It is stated in Al-Minhaj al-Qawim Sharh al-Muqaddimah al-Hadramiyyah (p. 137): 'The minimum of Witr is one rak‘ah, but limiting it to that is contrary to what is best.'
The most complete form of Witr is eleven units, while the minimum level of 'perfection' is three units. It is stated in ‘Umdat al-Salik (p. 60): 'The minimum of Witr is one rak‘ah, and its maximum is eleven, performing the taslim (salutation) after every two units. The lowest level of perfection is three units with two separate taslims (meaning 2+1).' And Allah the Exalted knows best.
Which is better in night prayer: long standing (Qiyam) or long prostration (Sujood)?
Long standing (Qiyam) is better in prayer. However, a Muslim should also observe tranquility and composure in their prayer.