Sayyidah Aishah (may Allah be pleased with her) says that the Messenger of Allah (peace and blessings be upon him) was asked about poetry, and he (peace and blessings be upon him) said: "It is speech: good poetry is good speech and bad poetry is bad speech."
A group reported it with a connected chain (mawsul), but the correct version from him is mursal from the Prophet (peace and blessings be upon him).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 21113