Poetry and its chanting

As for poetry and its chanting . For whoever sees that he sang poetry, and if there is sin in it, then there is no good in it and it is not a vision, and if there is wisdom in it, then it is good because he said, peace be upon him, that of poetry is wisdom .