Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrates: I was at a funeral and Ibn Umar (may Allah be pleased with them both) was also with it. He heard the sound of weeping, and Ibn Umar (may Allah be pleased with them both) said: I heard the Messenger of Allah (peace and blessings be upon him) say: "Indeed, the deceased is punished because of his family's weeping over him."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13025