It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Indeed, some poetry contains wisdom, and some eloquent speech has the effect of magic."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12832