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.
bayhaqi:4347Abū al-Ḥasan ʿAlī b. Aḥmad b. ʿAbdān > Aḥmad b. ʿUbayd al-Ṣaffār > ʿUbayd b. Sharīk > Yaḥyá b. Bukayr > al-Layth > Ibn ʿAjlān > ʿAmr b. Shuʿayb from his father from his grandfather

[Machine] "From the Messenger of Allah ﷺ, that he forbade reciting poetry in the mosque. And Abu Al-Hassan informed that Ahmed bin Ubaid narrated to us, from Yahya bin Al-Hanayyi, from Muhammad bin Ubaid, from Bishr, from Muhammad bin Ajlan, from Amr bin Shuayb, that he mentioned the same. And he added that he forbade defining stray animals in the mosque, and buying and selling in the mosque."  

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

عَنْ رَسُولِ اللهِ ﷺ أَنَّهُ نَهَى عَنْ تَنَاشُدِ الْأَشْعَارِ فِي الْمَسْجِدِ 4348 وَأنبأ أَبُو الْحَسَنِ أنبأ أَحْمَدُ بْنُ عُبَيْدٍ ثنا يَحْيَى بْنُ الْحَنَّائِيِّ ثنا مُحَمَّدُ بْنُ عُبَيْدٍ ثنا بِشْرٌ ثنا مُحَمَّدُ بْنُ عَجْلَانَ ثنا عَمْرُو بْنُ شُعَيْبٍ فَذَكَرَهُ بِمِثْلِهِ زَادَ نَهْيَهُ عَنْ تَعْرِيفِ الضَّالَّةِ فِي الْمَسْجِدِ وَعَنِ الشِّرَاءِ وَالْبَيْعِ فِي الْمَسْجِدِ