Sure Ya-Sin

36:69

وَمَا عَلَّمْنَٰهُ ٱلشِّعْرَ وَمَا يَنۢبَغِى لَهُۥٓ ۚ إِنْ هُوَ إِلَّا ذِكْرٌۭ وَقُرْءَانٌۭ مُّبِينٌۭ

Und Wir haben ihn nicht das Dichten gelehrt, und es ziemt ihm (auch) nicht. Das ist doch nur eine Ermahnung und ein deutlicher Qur'an,

Tafsir 36:69

I did not teach Muhammad (peace be upon him) poetry and nor is that appropriate for him, because it is not his nature and his disposition does not demand it so that you can claim that he is a poet. What I have taught him is only a admonition and a clear Qur’ān for those who ponder over it. It is not poetry.