Abu Hurairah reported,

The Messenger of Allah ﷺ said, "There are two practices among people that constitute disbelief, attacking someone's lineage and wailing over the dead."

Azami 3558

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: اثنتان في الناس هما بهم كفر: الطعن في النسب، والنياحة على الميت.

الأعظمي 3558صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Prohibition of wailing over the deceased, and permissibility of weeping and showing grief over him
Section
Wailing is from the matters of Jahiliyyah
Numbering
Jami al-Kamil 3558 (2nd edition)
Azami 3558