Abdur Rahman bin Ka'b bin Malik narrates from his father: He said: O Messenger of Allah (peace be upon him)! What is your opinion about poetry? The Prophet (peace be upon him) said: A believer strives with his sword and his tongue. By Him in Whose hand is my soul, (by reciting poetry against the polytheists) it is as if you are striking them with spears.
Hadith Referenceصحیح ابن حبان / كتاب السير / 4707
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الصحيحة» (1631).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط الشيخين