It is narrated from Sa'id bin al-Musayyab (may Allah have mercy on him) that the Prophet (peace and blessings be upon him) led the people in prayer while in a state of major ritual impurity (janabah); he (peace and blessings be upon him) repeated the prayer, and the people also repeated it.
This is mursal, and Abu Jabir al-Bayadi is matruk al-hadith (abandoned in hadith); Malik bin Anas did not approve of him, and Yahya bin Ma'in used to say: Abu Jabir al-Bayadi is a great liar.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4077