وإذا صلى الرجل بقوم وهو جنب أو على غير وضوء وجبت عليه الاعادة وليس على من صلى بهم اعادة سواء علموا ذلك بعد انقضاء الصلاة أو لم يعلموا يدل على ذلك ما رواه
And if a man leads a group in prayer while he is in a state of janabah (major ritual impurity) or without ablution (wudu’), then it is obligatory upon him to repeat the prayer. However, those who prayed behind him are not required to repeat it, whether they came to know of it after prayer had concluded, or did not come to know of it at all.