(22) باب النَّهْىِ عَنِ الْبَيْعِ، وَالشِّرَاءِ، فِي الْمَسْجِدِ وَعَنِ التَّحَلُّقِ، قَبْلَ صَلاَةِ الْجُمُعَةِ
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.
Reference: Sunan an-Nasa'i 714
In-book reference: Book 8, Hadith 27
English translation: Vol. 1, Book 8, Hadith 715