Narrated from Aisha (may Allah be pleased with her), she said: People used to work hard and would come (to the mosque) in that state. So it was said to them: If you perform ghusl, it would be better.
Hadith Referenceمسند الإمام الشافعي / كتاب الجمعة / 412
Hadith Takhrijاخرجہ البخاری، الجمعۃ، باب من این تؤتى الجمعۃ وعلى من تجب؟ (902) ومسلم، الجمعۃ، باب وجوب غسل الجمعۃ على کل بالغ من الرجال و بیان ما أمروا بہ (847)۔