Riyad as-Salihin #1699 · The Book of the Prohibited actions

Riyad as-SalihinAmr bin Shu'aib on the authority of his grandfather
Riyad as-Salihin · Book 18 · The Book of the Prohibited actions
Riyad as-Salihin · كتاب 18 · كتاب الأمور المنهي عنها
'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] .
و
عن عمرو بن شعيب، عن أبيه، عن جده رضي الله عنه أن رسول الله صلى الله عليه وسلم نهى عن الشراء والبيع في المسجد، وأن تنشد فيه ضالة، أو ينشد فيه شعر. ((رواه أبو داود، والترمذي وقال حديث حسن))
Reference : Riyad as-Salihin 1699In-book reference : Book 18, Hadith 189