As for the textual evidence:
-
The general import of the Messenger’s ﷺ statement: “The one most versed in the Book of Allah should lead the people in prayer.” (1)
-
His specific statement ﷺ concerning unjust rulers who perform the prayer outside its prescribed time: “Perform the prayer at its proper time. Then, if you catch it with them, pray, for it will be a voluntary prayer for you.” (2)
-
His ﷺ statement: “They lead you in prayer; if they do so correctly, it is for you; and if they err, it is for you and against them.” (3)
-
The Companions, including Ibn Umar, used to pray behind al-Hajjaj. (4) Ibn Umar was among the people most scrupulous in following and safeguarding the sunnah, while al-Hajjaj is well known.
As for the rational evidence, we say: Whoever’s prayer is valid may validly lead the prayer. There is no evidence for distinguishing between the validity of one’s prayer and the validity of one’s leadership in prayer. So long as this person performs a valid prayer, how can I not pray behind him, because he