The Book of the Prohibited actions
Riyad as-Salihin #899
كتاب الأمور المنهي عنها
وعن أبي هريرة رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم: «اثنتان في الناس هما بهم كفر: الطعن في النسب، والنياحة على الميت» ((رواه مسلم)).
Abu Hurairah (May Allah be pleased with him) said:
The Messenger of Allah (ﷺ) said, “Two matters are signs of disbelief on the part of those who indulge in them: Defaming and speaking evil of a person's lineage, and wailing over the dead.”.
وعن أبي هريرة رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم : " اثنتان في الناس هما بهم كفر: الطعن في النسب، والنياحة على الميت" ((رواه مسلم)).
The Messenger of Allah (ﷺ) said, "Two matters are signs of disbelief on the part of those who indulge in them: Defaming and speaking evil of a person's lineage, and wailing over the dead.".
— Riyad as-Salihin, Hadith 899