The Prophet ﷺ said, "There are four practices from the days of ignorance that my community will not abandon: boasting about lineage, attacking others' ancestry, attributing rainfall to the stars, and wailing over the dead."He also said, "The wailing woman, if she does not repent before her death, will be raised on the Day of Resurrection wearing a garment of tar and an armor of scabs."
أن النبي ﷺ قال: أربع في أمتي من أمر الجاهلية لا يتركونهن: الفخر في الأحساب، والطعن في الأنساب، والاستسقاء بالنجوم، والنياحة. وقال: النائحة إذا لم تتب قبل موتها، تقام يوم القيامة، وعليها سربال من قطران، ودرع من جرب.
Muslim narrated it in the Book of Funerals (934) through several routes from Abu Aban bin Yazid, who said, Yahya narrated to us, that Zayd told him, that Abu Salam told him, that Abu Malik Ashari told him, and he related it. The problem arises in this hadith of Muslim, and in the one he narrated before it at the beginning of the Book of Purification (223), "Purification is half of faith," which is also found in Jami Kamil in the Book of wudu, the chapter on what has been said about the reward of purification.Who is Abu Malik Ashari in this chain of transmission? Muslim holds that he is Harith bin Harith Shami, who is well known both by his kunya and his given name together, and that is why he included these two hadiths in his Sahih. Tabarani holds the same view, so he placed the hadith of "Purification" (3424) and the hadith of "Four things are in my nation" (3425) under the biography of Harith bin Harith Ashari in Mujam al-Kabir. This Harith bin Harith is among those whose death came late enough that Abu Salam Mamtur Habashi, the black man, was able to hear from him directly.Daraqutni, however, holds that he is Abu Malik Ashari, who is well known by his kunya but whose given name is disputed. Some said Amr, others said Ubayd. It has been reported from Abu Bakr bin Abu Shayba that his name was Amr, and others added further, saying he was Amr bin Harith bin Hani. If this is correct, then he died in the plague of Amwas in the year 18 AH, and Abu Salam did not hear from him directly, rather Abdul-Rahman bin Ghanm stood between them, as narrated by Ibn Majah (280), Nasai (2437), and Ibn Hibban (844) in the hadith of "Purification."Bukhari avoided narrating these two hadiths because of the disagreement over the identity of Abu Malik Ashari, while he did include the hadith about musical instruments (5590), which reads, "There will certainly be among my nation people who deem lawful illicit sex, silk, wine, and musical instruments..." through the route of Atiya bin Qays Kullabi, from Abdul-Rahman bin Ghanm Ashari, who said, Abu Amir or Abu Malik Ashari told me that he heard the Prophet ﷺ say, and he related it.So if we say that Abu Malik Ashari is Harith bin Harith, whose death came late, then Abu Salam heard from Abdul-Rahman bin Ghanm, and also heard separately from Harith bin Harith, which resolves the problem in Muslim's narration. For more, see the Book of wudu, the chapter on what has been said about the reward of purification.In Sahih Bukhari (3850), from Ali bin Abdullah, who said, Sufyan narrated to us, from Ubaydullah, that he heard Ibn Abbas say, "There are traits from the traits of the Jahiliyyah, disparaging lineages, and wailing over the dead." He forgot the third one. Sufyan said, "They say it is seeking rain by the stars."As for his statement "he forgot the third one," the one who forgot is Ubaydullah, as found in the narration of Ibn Abu Umar from Sufyan, which Ismaili included, as mentioned in Fath al-Bari (7/161).