Hadith 10434

حَدَّثَنَا ابْنُ نُمَيْرٍ ، أَخْبَرَنَا الْأَعْمَشُ ، عَنْ أَبِي صَالِحٍ , عَنْ أَبِي هُرَيْرَةَ , قََالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " اثْنَتَانِ فِي النَّاسِ هُمَا بِهِمْ كُفْرٌ الطَّعْنُ فِي النَّسَبِ ، وَالنِّيَاحَةُ عَلَى الْمَيِّتِ " .
It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) used to say: Two things are acts of disbelief; one is wailing (over the dead) and the other is casting aspersions on someone's lineage.
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 10434
Hadith Grading حکم دارالسلام: إسناده صحيح، م: 67