Hadith 4784
وَعَنْ أُبَيِّ بْنِ كَعْبٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِنَّ مِنَ الشِّعْرِ حِكْمَةً» . رَوَاهُ الْبُخَارِيُّ
Ubayy bin Ka'b (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings of Allah be upon him) said: "Indeed, some poetry contains wisdom." Narrated by al-Bukhari.