Sahih al-Bukhari, Book 78, Hadith 180 (Bukhari 5921)

Narrated Ibn `Umar:

The Prophet (ﷺ) said, "It is better for a man to fill the inside of his body with pus than to fill it with poetry."