The Messenger of Allah ﷺ said, "Three things are acts of disbelief in Allah: wailing over the dead, tearing one's garment in grief, and slandering lineage."
قال رسول الله ﷺ: ثلاث هي الكفر بالله: النياحة، وشق الجيب، والطعن في النسب.
No references are available.
Ibn Hibban narrated it in his Sahih (3161) via Firyabi, who said, Uzai told us, from Ismail bin Ubaydullah, from Karima bint Hashas, who said, "I heard Abu Hurairah say," then he mentioned the hadith. Hakim graded it sahih (1/383) and narrated it via Bishr bin Bakr, from Uzai.I said, its chain of transmission is hasan, for no one narrated from Karima bint Hashas except Ismail bin Ubaydullah, and no one deemed him reliable except Ibn Hibban. However, Bukhari mentioned a hadith of hers in the Book of Tawhid as a suspended narration, which thereby lent her some credibility. The truth is that her hadith is hasan, since the conditions for full authenticity were not met in her case.On this subject there is also what was narrated from Junada bin Malik, who said, "I heard the Messenger of Allah ﷺ say, 'Three things from the affairs of pre-Islamic ignorance the people of Islam will never abandon, seeking rain through the stars, disparaging lineage, and wailing over the dead.'"Bazzar narrated it in Kashf Astar (797), and Tabarani in Kabir (2/317), both via Yahya bin Abdul-Rahman Arhabi, who said, Ubayda bin Aswad told us, from Qasim bin Walid, from Musab bin Ubaydullah bin Junada bin Malik, from his father, from his grandfather Junada bin Malik, who mentioned it. The wording given here is Bazzar's, and Tabarani's wording is close to it.In it appears Musab bin Ubaydullah. Haythami said in Majma (3/13), "I have not found anyone who wrote a biography of Musab, nor of his father."I said, Bukhari mentioned both of them in Tarikh al-Kabir (7/353, 50/375), and Ibn Abu Hatim in Jarh wa Tadil (8/306, 5/310), but neither of them mentioned any discrediting or endorsement regarding them, so they are counted among the unknown narrators. That is why Bukhari said, "There is something questionable about its chain of transmission."On this subject there are also narrations from Amr bin Awf, Salman Farsi, Abbas bin Abdul-Muttalib, and others, but all of them are daif.