Hadithcore
Riyad as-Salihin, 1699

'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. <b>[Abu Dawud and At- Tirmidhi]</b>.

وعن عمرو بن شعيب، عن أبيه، عن جده رضي الله عنه أن رسول الله صلى الله عليه وسلم نهى عن الشراء والبيع في المسجد، وأن تنشد فيه ضالة، أو ينشد فيه شعر‏.‏ ‏(‏‏(‏رواه أبو داود، والترمذي وقال حديث حسن‏)‏‏)‏

References1 variant
In-Book Reference
Book 17, Hadith 189
Sharh · explanationclick to expand
<b>Guidance from the Hadiths:</b><br> 1) It is prohibited to inquire about a lost item in the mosque, given its great status and to avoid distracting the worshipers.<br> 2) It is prohibited to buy or sell in the mosque. This applies to both the buyer and the seller.<br> 3) We are encouraged to frequently remember Allah Almighty, recite the Qur’an, seek Shariah knowledge, and establish prayers in the mosques. Indeed, this is the purpose behind constructing them.<br> 4) it is prohibited to recite idle poetry in the mosque. As for such poems that involve wisdom and asceticism and encourage obedience to Allah and Jihad in His cause, it is recommended and desirable to recite them.
Related hadiths2
Compare isnād across 2 related chains →