Sahih al-Bukhari, Book 78, Hadith 181 (Bukhari 5922)

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."