It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "There are three things which people will not abandon until the Hour is established: wailing over the dead, boasting about lineage and ancestry, and seeking rain through the stars."
Nasr bin Ali (may Allah have mercy on him) also narrated it from Zakariyya bin Yahya (may Allah have mercy on him) with the like of it.
Imam Abu Zur'ah al-Razi (may Allah have mercy on him) was asked about Zakariyya bin al-Dhari' (may Allah have mercy on him), and he spoke well of him.
This hadith has a supporting narration (shahid) in Sahih Muslim from Sayyiduna Abu Malik al-Ash'ari (may Allah be pleased with him) from the Prophet (peace and blessings be upon him), in which he (peace and blessings be upon him) said: "Four traits are in my Ummah (that will remain from the Days of Ignorance)," and in it he added: "defaming people's lineage."