Sunan an-Nasa'i #715 · The Book of the Masjids

Sunan an-Nasa'iAmr ibn Shu’aib
Sunan an-Nasa'i · Book 8 · The Book of the Masjids
Sunan an-Nasa'i · كتاب 8 · كتاب المساجد
It was narrated from 'Amr bin Shu'aib, from his father, from his grandfather, that the Prophet (ﷺ) forbade reciting poetry in the Masjid
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا اللَّيْثُ بْنُ سَعْدٍ، عَنِ ابْنِ عَجْلاَنَ، عَنْ عَمْرِو بْنِ شُعَيْبٍ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، أَنَّ النَّبِيَّ صلى الله عليه وسلم نَهَى عَنْ تَنَاشُدِ الأَشْعَارِ فِي الْمَسْجِدِ ‏.‏
Reference : Sunan an-Nasa'i 715In-book reference : Book 8, Hadith 28