The statement of Ibn Umar (may Allah be pleased with them both), that the one who is wailed over is punished because of his family's weeping over him, was mentioned in the presence of Sayyidah Aishah (may Allah be pleased with her), and she said: May Allah have mercy on Abu Abd al-Rahman! He heard something and did not retain it. What happened was that the funeral of a Jewish man passed by, and his family were weeping, and the Messenger of Allah (peace and blessings be upon him) said: "They are weeping, and he is being punished."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 7172