Jami` at-Tirmidhi Book 10, Hadith 38
The Messenger of Allah said: "The deceased is punished for the crying of his family over him."
"There are four matters in my nation that are from the matters of Jahiliyyah which the people will not leave: Wailing, slandering one's lineage, Al-Adwa - a camel gets mange, so one hundred camels get mange - but who gave the first camel mange? And Al-Anwa (saying): "We got rain because of this or that celestial positioning.'"
The Messenger of Allah said: "No one dies and they stand over him crying and saying: 'O what a great man he was! O how respectful he was!' except that two angels are appointed for him to poke him (saying): 'Is that you?'"