Urwah bin al-Zubayr (may Allah have mercy on him) narrates from Sayyidah Aishah (may Allah be pleased with her) that people used to come to the Friday prayer from their homes and from the outlying settlements. They would come through the dust, and their sweat would give off a bad smell. One of them came to the Messenger of Allah (peace and blessings be upon him) and he smelled bad. He (peace and blessings be upon him) said: "If only you would bathe for this day of yours."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجمعة / 5666