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 in his grave because of the lamentation that is done over him."
Hadith Referenceمسند احمد / مسند الخلفاء الراشدين / 247