It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "That the belly of one of you be filled with pus is better for him than that it be filled with poetry."
(Clarification about the chain:) This is how it is recorded in the Dar al-Haramayn edition; the correct name is probably "Muhammad bin Mus'ab bin Sadaqah al-Qarqasani".
Hadith Referenceالمعجم الأوسط / باب الميم / 5705
Hadith Takhrij«أخرجه البخاري فى «صحيحه» برقم: 6155، ومسلم فى «صحيحه» برقم: 2257، وابن حبان فى «صحيحه» برقم: 5777، 5779، وأبو داود فى «سننه» برقم: 5009، والترمذي فى «جامعه» برقم: 2851، وابن ماجه فى «سننه» برقم: 3759، والبيهقي فى «السنن الكبرى» برقم: 21207، وأحمد فى «مسنده» برقم: 7989، 8491، 8775، 9209، 10338، 10362، والبزار فى «مسنده» برقم: 9046، 9203، وابن أبي شيبة فى «مصنفه» برقم: 26607، 26612، والطحاوي فى «شرح معاني الآثار» برقم: 6984، 6985، 6987، 6988، والطبراني فى «الأوسط» برقم: 5090»