(92) بَابُ مَا يُكْرَهُ أَنْ يَكُونَ الْغَالِبُ عَلَى الإِنْسَانِ الشِّعْرُ حَتَّى يَصُدَّهُ عَنْ ذِكْرِ اللَّهِ وَالْعِلْمِ وَالْقُرْآنِ
Narrated Abu Huraira:
Allah's Messenger (ﷺ); said, "It is better for anyone of you that the inside of his body be filled with pus which may consume his body, than it be filled with poetry."
Reference: Sahih al-Bukhari 6155
In-book reference: Book 78, Hadith 181
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 73, Hadith 176