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:21099Abū Naṣr b. Qatādah > Abū Muḥammad Aḥmad b. Isḥāq al-Harawī > ʿAlī b. Muḥammad b. ʿĪsá > Abū al-Yamān > Shuʿayb > al-Zuhrī > Abū Bakr b. ʿAbd al-Raḥman b. al-Ḥārith b. Hishām > Marwān b. al-Ḥakam > ʿAbd al-Raḥman b. al-Aswad > Ubī b. Kaʿb al-Anṣārī

[Machine] He informed him that the Messenger of Allah ﷺ said, "Indeed, there is wisdom in poetry."  

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

أَخْبَرَهُ أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِنَّ مِنَ الشِّعْرِ حِكْمَةً  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ أَبِي الْيَمَانِ وَرُوِّينَاهُ مِنْ حَدِيثِ شُعَيْبِ بْنِ أَبِي حَمْزَةَ عَنِ الزُّهْرِيِّ مَوْصُولًا وَمِنْ ذَلِكَ الْوَجْهِ أَخْرَجَهُ الْبُخَارِيُّ فِي الصَّحِيحِ وَكَذَلِكَ رَوَاهُ إِسْمَاعِيلُ بْنُ أُمَيَّةَ وَزِيَادُ بْنُ سَعْدٍ وَمُحَمَّدُ بْنُ أَبِي عَتِيقٍ وَيُونُسُ بْنُ يَزِيدَ عَنِ الزُّهْرِيِّ