Sunan Ibn Majah, Book 5, Hadith 1143 (In-Book)

It was narrated that Abu Hurairah said: “The Messenger of Allah said: ‘Whoever performs ablution and performs ablution well, then comes to Friday (prayer) and sits near (the Imam), and keeps quiet and listens, he will be forgiven for what was between that and the previous Friday (of sins), and three days more. And whoever touches the pebbles then he has engaged in Laghw (idle talk or behaviour).”

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ مَنْ تَوَضَّأَ فَأَحْسَنَ الْوُضُوءَ ثُمَّ أَتَى الْجُمُعَةَ فَدَنَا وَأَنْصَتَ وَاسْتَمَعَ غُفِرَ لَهُ مَا بَيْنَهُ وَبَيْنَ الْجُمُعَةِ الأُخْرَى وَزِيَادَةُ ثَلاَثَةِ أَيَّامٍ وَمَنْ مَسَّ الْحَصَى فَقَدْ لَغَا ‏" ‏ ‏.‏

sunnah.com