Allah's Messenger prohibited the recitation of poetry in the Masjid, and from selling and buying in it, and (he prohibited) the people from forming circles in it on Friday before the Salat."
Jami` at-Tirmidhi Book 2, Hadith 174