Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:749ʿAbdullāh b. Saʿīd al-Kindī > Abū Khālid al-Aḥmar > Ibn ʿAjlān > ʿAmr b. Shuʿayb from his father from his grandfather

"The Messenger of Allah forbade buying and selling in the mosque, and reciting poetry in the mosque."  

ابن ماجة:٧٤٩حَدَّثَنَا عَبْدُ اللَّهِ بْنُ سَعِيدٍ الْكِنْدِيُّ حَدَّثَنَا أَبُو خَالِدٍ الأَحْمَرُ عَنِ ابْنِ عَجْلاَنَ عَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ قَالَ

نَهَى رَسُولُ اللَّهِ ﷺ عَنِ الْبَيْعِ وَالاِبْتِيَاعِ وَعَنْ تَنَاشُدِ الأَشْعَارِ فِي الْمَسَاجِدِ  


See similar narrations below:

Collected by Nasāʾī, Aḥmad, Nasāʾī's Kubrá
nasai:715Qutaybah > al-Layth b. Saʿd > Ibn ʿAjlān > ʿAmr b. Shuʿayb from his father from his grandfather

It was narrated from 'Amr bin Shu'aib, from his father, from his grandfather, that the Prophet ﷺ forbade reciting poetry in the Masjid.  

النسائي:٧١٥أَخْبَرَنَا قُتَيْبَةُ قَالَ حَدَّثَنَا اللَّيْثُ بْنُ سَعْدٍ عَنِ ابْنِ عَجْلاَنَ عَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ

أَنَّ النَّبِيَّ ﷺ نَهَى عَنْ تَنَاشُدِ الأَشْعَارِ فِي الْمَسْجِدِ  

ahmad:6991ʿAlī b. Isḥāq > ʿAbdullāh / Ibn al-Mubārak > Usāmah b. Zayd > ʿAmr b. Shuʿayb from his father > ʿAbdullāh b. ʿAmr

[Machine] The Prophet Muhammad ﷺ forbade buying and selling in the mosque.  

أحمد:٦٩٩١حَدَّثَنَا عَلِيُّ بْنُ إِسْحَاقَ أَخْبَرَنَا عَبْدُ اللهِ يَعْنِي ابْنَ الْمُبَارَكِ حَدَّثَنِي أُسَامَةُ بْنُ زَيْدٍ حَدَّثَنِي عَمْرُو بْنُ شُعَيْبٍ عَنْ أَبِيهِ عَنْ عَبْدِ اللهِ بْنِ عَمْرٍو قَالَ

نَهَى رَسُولُ اللهِ ﷺ عَنِ الْبَيْعِ وَالِاشْتِرَاءِ فِي الْمَسْجِدِ  

nasai-kubra:796Qutaybah b. Saʿīd > al-Layth > Ibn ʿAjlān > ʿAmr b. Shuʿayb from his father from his grandfather

It was narrated from 'Amr bin Shu'aib, from his father, from his grandfather, that the Prophet ﷺ forbade reciting poetry in the Masjid. (Using translation from Nasāʾī 715)  

الكبرى للنسائي:٧٩٦أَخْبَرَنَا قُتَيْبَةُ بْنُ سَعِيدٍ قَالَ حَدَّثَنَا اللَّيْثُ عَنِ ابْنِ عَجْلَانَ عَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ

أَنَّ رَسُولَ اللهِ ﷺ «نَهَى عَنْ تَنَاشُدِ الْأَشْعَارِ فِي الْمَسْجِدِ»  

nasai-kubra:9930Qutaybah b. Saʿīd > al-Layth > Ibn ʿAjlān > ʿAmr b. Shuʿayb from his father from his grandfather

It was narrated from 'Amr bin Shu'aib, from his father, from his grandfather, that the Prophet ﷺ forbade reciting poetry in the Masjid. (Using translation from Nasāʾī 715)   

الكبرى للنسائي:٩٩٣٠أَخْبَرَنَا قُتَيْبَةُ بْنُ سَعِيدٍ قَالَ حَدَّثَنَا اللَّيْثُ عَنِ ابْنِ عَجْلَانَ عَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ

«أَنَّ النَّبِيَّ ﷺ نَهَى أَنْ تُنَاشَدَ الْأَشْعَارُ فِي الْمَسْجِدِ»