Hisham b. 'Urwa narrated on the authority of his father that the saying of Ibn 'Umar, viz." The dead would be punished because of the lamentation of his family over him" was mentioned to 'A'isha. Upon this she said:
May Allah have mercy upon Abu 'Abd al-Rahman (the kunya of Ibn 'Umar) that he heard something but could not retain it (well). (The fact is) that the bier of a Jew passed before the Messenger of Allah (ﷺ) and (the members of his family) were waiting over him. Upon this he said: You are wailing and he is being punished.
عن عمر بن الخطاب رضي الله عنه قال: قال النبي صلى الله عليه وسلم :"الميت يُعذب في قبره بما نِيح عليه ". وَفِي روايةٍ:"مَا نِيحَ علَيْهِ" ((متفق عليه)).
وعن ابن عمر رضي الله عنهما قال: اشتكى سعد بن عبادة رضي الله عنه شكوى فأتاه رسول الله صلى الله عليه وسلم يعوده مع عبد الرحمن بن عوف، وسعد بن أبي وقاص، وعبد الله بن مسعود رضي الله عنهم، فلما دخل عليه، وجده في غشية…