The Messenger of Allah ﷺ said, "Two practices found among people are acts of disbelief, wailing over the dead and attacking lineages."
حدثنا محمد بن عبيد قال حدثنا الأعمش عن أبي صالح
قال رسول الله ﷺ ثنتان هما بالناس كفر نياحة على الميت وطعن في النسب
No references are available.
Its chain of transmission is sahih. It appeared previously at 8891.