Islam has forbidden some musical instruments, for amusement, and permitted others. That is to say, instruments producing Qur’anic sorrow or revelational eagerness are not harmful.
But if it produces the woebegone grief of the orphan or carnal thrills, the instrument is prohibited. It changes from person to person, not everyone is the same.
Poetry is a result of human philosophy.The All-Wise Qur’an contains infinite brilliant, elevated truths, that it is free of the fancies of poetry. Another reason the Qur’an of Miraculous Exposition is not in verse, despite the perfection of its word-order and orderedness and its expounding with its well-ordered styles the order and art of the book of the universe, is that by not entering under the restrictions of metre, each star of its verses can be a sort of centre to the most of the other verses, and be a brother to them, and each can form a connecting line with the verses within the sphere encompassing it in order to be a bond in the relationships which exist between them. It is as if each independent verse has an eye which looks to most of the other verses, and a face turned towards them.
However Our Prophet (PBUH) had permitted poems for good intentions and expressions.Eg:
The famous story of the poet Nabigha. He recited one of his poems before God’s Messenger (Upon whom be blessings and peace), which ran: “Our glory and praise have reached to the skies; we want to ascend even higher.” God’s Messenger asked jokingly: “Where, beyond the skies?” Nabigha replied: “To Paradise.” He then recited another of his meaningful poems, and the Prophet prayed: “May God not spoil your mouth!” It was through the blessing of this prayer of the Prophet that he did not have a single tooth missing when he was one hundred and twenty years old. Whenever he lost a tooth, another would appear in its place.
(‘Ali al-Qari, Sharh al-Shifa’ i, 661; Ibn Hajar, al-Isaba fi Tamyiz al-Sahaba no: 8639; al-‘Asqalani, al-Matalib al-‘Aliya no: 4060; Ibn Kathir, al-Bidaya wa’l Nihaya vi, 168.)