It is narrated from Sayyiduna Umar (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The deceased is punished because of the weeping and wailing of his family over him."
Hadith Referenceمسند احمد / مسند الخلفاء الراشدين / 315
Hadith Gradingحکم دارالسلام:صحيح، سيعد بن المسيب لم يسمع من عمر، خ: 1292، م: 927