'Amr bin Shu'aib on the authority of his grandfather (May Allah be pleased with him) said:
The Messenger of Allah (ﷺ) prohibited (us) from buying and selling in the mosque; (he also prohibited us from) making announcement in it about something lost and from reciting poems in it.[Abu Dawud and At- Tirmidhi]. (IT)
App reference (IT): Book 18, Hadith 189 (IT)
Arabic/English book reference (IT): Book 18, Hadith 1699 (IT)