Sunan Ibn Majah #749 · The Book On The Mosques And The Congregations

Sunan Ibn MajahIt was narrated from 'Amr bin Shu'aib from his father that his grandfather said
Sunan Ibn Majah · Book 4 · The Book On The Mosques And The Congregations
Sunan Ibn Majah · كتاب 4 · كتاب المساجد والجماعات
"The Messenger of Allah forbade buying and selling in the mosque, and reciting poetry in the mosque
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ سَعِيدٍ الْكِنْدِيُّ، حَدَّثَنَا أَبُو خَالِدٍ الأَحْمَرُ، عَنِ ابْنِ عَجْلاَنَ، عَنْ عَمْرِو بْنِ شُعَيْبٍ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، قَالَ نَهَى رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ عَنِ الْبَيْعِ وَالاِبْتِيَاعِ وَعَنْ تَنَاشُدِ الأَشْعَارِ فِي الْمَسَاجِدِ ‏.‏
Reference : Sunan Ibn Majah 749In-book reference : Book 4, Hadith 15