The Messenger of Allah (ﷺ) prohibited buying and selling in the mosque, announcing aloud about a lost thing, the recitation of a poem in it, and prohibited sitting in a circle (in the mosque) on Friday before the prayer.
Sunan Abi Dawud Book 2, Hadith 690