عن عبد الله بن عُمر رضي الله عنهما عن رسول الله صلى الله عليه وسلم أنه قال: «من جاء منكم الجمعة فلْيَغْتَسِل». [صحيح] - [متفق عليه] المزيــد ...
‘Abdullāh ibn ‘Umar (may Allah be pleased with him) reported that the Messenger of Allah (may Allah's peace and blessings be upon him) said: "Whoever of you comes to attend the Friday prayer, let him take a bath." Sahih/Authentic. - [Al-Bukhari and Muslim]
Attending the Friday prayer is a great event and a huge gathering for Muslims who come from various places around the country to perform it.
The one attending such an assembly, which manifests the motto of Islam and the grandeur of Muslims, should be in one's best appearance, best smell, and cleanest body.
At the early times of Islam, the Companions (may Allah be pleased with him) suffered from poverty and need, and they used to wear wool and serve themselves. Hence, they used to attend the Friday prayer with dust and sweat all over their clothes. Moreover, the mosque was narrow, which led to even more sweat and hurt each other by such disliked odors. That is why the Prophet (may Allah's peace and blessings be upon him) ordered them to take a bath before going to attend such a prayer. By doing so, there would be no dirt or unpleasant smells to hurt the worshipers and the angels, who attend the Friday prayer to listen to the sermon and Dhikr.