Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) said 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 than that it be filled with poetry."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 21143
Sayyiduna Abu Hurayrah (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) said: "That a man's belly be full of pus is better than that it contain poetry."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 21144
Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) said: We were travelling with the Prophet (peace and blessings be upon him) at a place called al-Arj, when suddenly a poet appeared before us. He (peace and blessings be upon him) said: "Seize the Shaytan, for a man's belly being filled with pus is better than its being filled with poetry."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 21145
It is reported from al-Sha'bi (may Allah have mercy on him) that the Messenger of Allah (peace and blessings be upon him) said: "That the belly of one of you be filled with pus until it corrupts it is better for him than that it be filled with poetry," meaning such poetry in which the Prophet (peace and blessings be upon him) is satirised.
Abu Ubayd (may Allah have mercy on him) said: My understanding of this hadith is other than this, because if even half a verse were one in which the Prophet (peace and blessings be upon him) is satirised, that would be disbelief. Rather, in my view it means that poetry overpowers a person's heart so that because of it he stays away from the remembrance of Allah and the recitation of the Qur'an, whatever kind of poetry it may be.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 21146
Abu Nawfal bin Abi Aqrab said that it was said to Sayyidah Aishah (may Allah be pleased with her): Was poetry recited in the presence of the Prophet (peace and blessings be upon him)? She said: He (peace and blessings be upon him) disliked it very greatly.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 21147