Sunan an-Nasa'i, Book 8, Hadith 27 (In-Book)

It was narrated from 'Amr bin Shu'aib, from his father, from his grandfather, that the Prophet forbade sitting in circles on Friday before Jumu'ah prayer, and buying and selling in the Masjid.

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

sunnah.com