Hadith 8905

حَدَّثَنَا أَسْوَد بن عامر ، أَخْبَرَنَا أَبُو بَكْرٍ ، عَنِ الْأَعْمَشِ ، عَنْ أَبِي صَالِحٍ ، عَنْ أَبِي هُرَيْرَةَ ، قَالَ : كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، يَقُولُ : " اثْنَانِ هُمَا كُفْرٌ النِّيَاحَةُ ، وَالطَّعْنُ فِي النَّسَبِ " .
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 and the other is casting aspersions on someone's lineage.
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 8905
Hadith Grading حکم دارالسلام: إسناده صحيح، م: 67