وَبَعْدَ غِيبَةٍ وَكَذِبٍ وَنَمِيمَةٍ وَكُلِّ خَطِيئَةٍ، وَإِنْشَادِ شِعْرٍ، وَقَهْقَهَةٍ خَارِجَ الصَّلَاةِ، وَغَسْلِ مَيِّتٍ وَحَمْلِهِ
The text recommends Wudu after backbiting, lying, tale-bearing, every khati'ah, reciting poetry, loud laughter outside prayer, washing a deceased person, and carrying the deceased.
The matn simply says 'reciting poetry'; this lesson does not restrict it to a narrower kind of poetry.