Sayyiduna Abu Ayyub al-Ansari (may Allah be pleased with him) says: I heard the Messenger of Allah (peace and blessings be upon him) say: "Whoever takes a ritual bath (ghusl) on Friday, applies perfume if he has any, puts on his best clothes, then goes out and comes to the mosque, prays as much as he wishes and does not harm anyone, then keeps silent when the imam comes out for the sermon, this becomes an expiation for the sins between that Friday and the next Friday."
Hadith Referenceالمعجم الكبير للطبراني / باب الخاء / 3992