Abu Hurairah reported,

The Messenger of Allah ﷺ said, "There are four practices from the days of ignorance found among my community that the people will not abandon: wailing over the dead, attacking lineages, belief in contagion (one camel becomes mangy, then a hundred camels become mangy. But who made the first camel mangy?), and attributing rain to the stars (saying, 'We were given rain by such-and-such a star')."

Azami 3560

Hasan

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

قال رسول الله ﷺ: أربع في أمتي من أمر الجاهلية لن يدعهن الناس: النياحة، والطعن في الأحساب، والعدوى (أجرب بعير فأجرب مائة بعير. من أجرب البعير الأول؟)، والأنواء (مطرنا بنوء كذا وكذا).

الأعظمي 3560حسن
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 3560 (2nd edition)
Azami 3560