Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) said: "The deceased is punished because of the weeping of the living."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 7171