ENOfficial
Abu Hurayra reported that the Prophet, may Allah bless him and grant him peace, said, "There are two courses that my Community will not abandon: wailing and attacking a person's lineage."
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا أَبُو عَاصِمٍ، عَنِ ابْنِ عَجْلاَنَ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ: شُعْبَتَانِ لاَ تَتْرُكُهُمَا أُمَّتِي: النِّيَاحَةُ وَالطَّعْنُ فِي الأَنْسَابِ.
sunnah.com