Urwa bin Zubayr reported,

Ibn Umar's statement that the deceased is punished because of his family's weeping over him was mentioned in the presence of Ayesha. She said, "May Allah have mercy on Abu Abdul-Rahman. He heard something but did not retain it accurately. A Jewish funeral procession passed by the Messenger of Allah ﷺ while the people were weeping over the deceased, and he said, 'You are weeping, while he is indeed being punished.'"

Muslim 2153

Sahih

و حدثنا خلف بن هشام وأبو الربيع الزهراني جميعا عن حماد قال خلف حدثنا حماد بن زيد

عن هشام بن عروة عن أبيه قال

ذكر عند عائشة قول ابن عمر الميت يعذب ببكاء أهله عليه فقالت رحم الله أبا عبد الرحمن سمع شيئا فلم يحفظه إنما مرت على رسول الله ﷺ جنازة يهودي وهم يبكون عليه فقال أنتم تبكون وإنه ليعذب

مسلم 2153صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Funerals
Chapter
Deceased is punished by the weeping of his family over him
Numbering
Darussalam 2153
Muslim 2153