Al-Adab Al-Mufrad, Book 36, Hadith 15 (In-Book)

Ibn 'Umar reported that the Prophet, may Allah bless him and grant him peace, said, "It is better for one of you to fill his belly with pus than to fill it with poetry."

حَدَّثَنَا عُبَيْدُ اللهِ بْنُ مُوسَى، قَالَ‏:‏ أَخْبَرَنَا حَنْظَلَةُ، عَنْ سَالِمٍ، عَنِ ابْنِ عُمَرَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ‏:‏ لأَنْ يَمْتَلِئَ جَوْفُ أَحَدِكُمْ قَيْحًا خَيْرٌ لَهُ مِنْ أَنْ يَمْتَلِئَ شِعْرًا‏.‏

sunnah.com