Sahih Muslim #2146 · The Book of Prayer - Funerals

Sahih MuslimAbu Burda narrated on the authority of his father that when 'Umar was wounded Suhaib uttered
Sahih Muslim · Book 11 · The Book of Prayer - Funerals
Sahih Muslim · كتاب 11 · كتاب الجنائز
O brother! Upon this 'Umar said: Suhaib, did you not know that the Messenger of Allah (ﷺ) said:" The dead is punished because of the lamentation of the living"?
حَدَّثَنِي عَلِيُّ بْنُ حُجْرٍ، حَدَّثَنَا عَلِيُّ بْنُ مُسْهِرٍ، عَنِ الشَّيْبَانِيِّ، عَنْ أَبِي بُرْدَةَ، عَنْ أَبِيهِ، قَالَ لَمَّا أُصِيبَ عُمَرُ جَعَلَ صُهَيْبٌ يَقُولُ وَاأَخَاهْ ‏.‏ فَقَالَ لَهُ عُمَرُ يَا صُهَيْبُ أَمَا عَلِمْتَ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏
"‏ إِنَّ الْمَيِّتَ لَيُعَذَّبُ بِبُكَاءِ الْحَىِّ ‏"‏ ‏.‏
Reference : Sahih Muslim 2146In-book reference : Book 11, Hadith 24