Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said:
مَنْ تَوَضَّأَ فَأَحْسَنَ الْوُضُوءَ ثُمَّ أَتَى الْجُمُعَةَ فَاسْتَمَعَ وَأَنْصَتَ غُفِرَ لَهُ مَا بَيْنَهُ وَبَيْنَ الْجُمُعَةِ وَزِيَادَةُ ثَلَاثَةِ أَيَّامٍ وَمَنْ مَسَّ الْحَصَى فَقَدْ لَغَا
Whoever performs ablution in an excellent manner, comes to Friday prayer, and listens while remaining quiet, his sins will be forgiven until the next Friday and an additional three days, but whoever plays with pebbles has behaved frivolously.
Source: Ṣaḥīḥ Muslim 857, Grade: Sahih