Amra bint Abdul-Rahman reported,

She heard Ayesha, Umm Muiminin, say, when it was mentioned to her that Abdullah bin Umar was saying that the deceased is punished because of the weeping of his family,Ayesha said, "May Allah forgive Abu Abdul-Rahman. He has not lied, but he has forgotten or made a mistake. The Prophet ﷺ simply passed by a Jewish woman whose family was weeping over her, and he said, 'You are weeping over her, while she is being punished in her grave.'"

Azami 3574

Sahih

عن عمرة بنت عبد الرحمن أنها أخبرت

أنها سمعت عائشة أم المؤمنين تقول: - وذكر لها أن عبد الله بن عمر يقول: إن الميت ليعذب ببكاء أهله فقالت عائشة: يغفر الله لأبي عبد الرحمن أما إنه لم يكذب. ولكنه نسي أو أخطأ، إنما مر النبي ﷺ بيهودية يبكي عليها أهلها فقال: إنكم لتبكون عليها، وإنها لتعذب في قبرها.

الأعظمي 3574صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Prohibition of wailing over the deceased, and permissibility of weeping and showing grief over him
Section
Ayesha's رضي الله عنها objection to Ibn Umar that the dead are punished for their family's weeping over them
Numbering
Jami al-Kamil 3574 (2nd edition)
Azami 3574