It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that "The Messenger of Allah (peace and blessings be upon him) granted permission for the poetry of the Age of Ignorance (to be recited and listened to), except for the ode of Umayyah bin Abi al-Salt which he composed about the people of Badr (the idolaters), and the ode of al-A'sha in which he mentioned Amir and Alqamah."
Takhrij and grading: Imam Abu Ya'la narrated this report in his Musnad (hadith: 2601); its chain contains a narrator named Abu Bakr al-Hudhali, who is weak and matruk al-hadith (abandoned in hadith), so this report is weak in its chain.
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الأدب / 2601
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :إسناده ضعيف. » «أخرجه مسند أبي يعلى برقم: 6059»