Kharijah bin Sa'd narrates from his father, Sayyiduna Sa'd (may Allah be pleased with him): The Prophet (peace and blessings be upon him) said to Sayyiduna Ali (may Allah be pleased with him): "It is not permissible for anyone other than me and you to come into the mosque in a state of janabah (major ritual impurity)."
Al-Bazzar recorded it; I do not know the narrator named Kharijah, and the remaining narrators of this report are thiqat (trustworthy).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب المناقب / 14679