It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that a Bedouin came to the Messenger of Allah (peace and blessings be upon him) and began speaking in a very eloquent manner, so the Messenger of Allah (peace and blessings be upon him) said: "Indeed, some eloquence is (enchanting like) magic, and indeed some poetry is full of wisdom."
Hadith Referenceمسند أبي يعلى الموصلي / أول مسند ابن عباس / 2581
Hadith Takhrij«قال سعيد بن محمد السناري: صحيح: مضى الكلام عليه [برقم 2332]» «أخرجه سنن الترمذي برقم: 2845، وأخرجه سنن أبي داود برقم: 5011، وأخرجه مسند أحمد برقم: 3017، وأخرجه فتح الباري برقم: 5434، 5793، وأخرجه المعجم الكبير للطبراني برقم: 11758، 11759، 11763، 12267، 12888، مسند ابویعلیٰ ترقیم الاثری: 2574»