Compiled by Imam Yahya ibn Sharaf al-Nawawi
وعن أبي هريرة رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم : " اثنتان في الناس هما بهم كفر: الطعن في النسب، والنياحة على الميت" ((رواه مسلم)).
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."[Muslim].