Abu Saeed Khudri reported,

While we were traveling with the Messenger of Allah ﷺ at al-Arj, a poet appeared reciting his verses. The Messenger of Allah ﷺ said, "Seize the devil," or "Restrain the devil. For a man's belly to be filled with pus is better for him than to be filled with poetry."

Azami 12940

Sahih

عن أبي سعيد الخدري قال

بينا نحن نسير مع رسول الله ﷺ بالعرج، إذ عرض شاعر ينشد فقال رسول الله ﷺ: خذوا الشيطان أو- أمسكوا الشيطان- لأن يمتلئ جوف رجل قيحا خير له من أن يمتلئ شعرا.

الأعظمي 12940صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Shuara
Section
From Abu Saeed Khudri who said, "While we were traveling with the Messenger of Allah ﷺ at Arj, a poet appeared reciting poetry. The Messenger of Allah ﷺ said, 'Seize the devil' or 'Hold the devil.' For a man's belly to be filled with pus is better for him than to be filled with poetry"
Numbering
Jami al-Kamil 12940 (2nd edition)
Azami 12940