كتاب الجنائز
11  
The Book of Prayer - Funerals
(9)
Chapter: The deceased is tormented because of his family's crying for him
(9)
باب الْمَيِّتُ يُعَذَّبُ بِبُكَاءِ أَهْلِهِ عَلَيْهِ ‏
Sahih Muslim 930

'Abdullah b. 'Umar reported that the Messenger of Allah (ﷺ) said:

The dead is punished because of the lamentation of the living.
وَحَدَّثَنِي حَرْمَلَةُ بْنُ يَحْيَى، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ، حَدَّثَنِي عُمَرُ بْنُ مُحَمَّدٍ، أَنَّحَدَّثَهُ عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ إِنَّ الْمَيِّتَ يُعَذَّبُ بِبُكَاءِ الْحَىِّ ‏"‏ ‏.‏
Reference : Sahih Muslim 930
In-book reference : Book 11, Hadith 30
USC-MSA web (English) reference : Book 4, Hadith 2025
  (deprecated numbering scheme)