The Book of Prayer - Funerals
11/9. Chapter:
The deceased is tormented because of his family's crying for him
Sahih Muslim
وَحَدَّثَنِي عَمْرٌو النَّاقِدُ، حَدَّثَنَا عَفَّانُ بْنُ مُسْلِمٍ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ ثَابِتٍ، عَنْ أَنَسٍ، أَنَّ عُمَرَ بْنَ الْخَطَّابِ، لَمَّا طُعِنَ عَوَّلَتْ عَلَيْهِ حَفْصَةُ فَقَالَ يَا حَفْصَةُ أَمَا سَمِعْتِ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ " الْمُعَوَّلُ عَلَيْهِ يُعَذَّبُ " . وَعَوَّلَ عَلَيْهِ صُهَيْبٌ فَقَالَ عُمَرُ يَا صُهَيْبُ أَمَا عَلِمْتَ " أَنَّ الْمُعَوَّلَ عَلَيْهِ يُعَذَّبُ " .
Anas reported that when 'Umar b. Khattab was wounded Hafsa lamented for him. Upon this he said: O Hafsa, did you not hear the Messenger of Allah (ﷺ) saying:" One who is lamented would be punished"? Suhaib also lamented over him. 'Umar told him also: O Suhaib, didn't you know that one who is lamented is punished?
Reference : Sahih Muslim 927gIn-book reference : Book 11, Hadith 26USC-MSA web (English) reference : Book 4, Hadith 2021