Sahih Muslim 930
Sahih Muslim · Book 11: The Book of Prayer - Funerals · The deceased is tormented because of his family's crying for him
'Abdullah b. 'Umar reported that the Messenger of Allah (ﷺ) said:
وَحَدَّثَنِي حَرْمَلَةُ بْنُ يَحْيَى ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ ، حَدَّثَنِي عُمَرُ بْنُ مُحَمَّدٍ ، أَنَّحَدَّثَهُ عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " إِنَّ الْمَيِّتَ يُعَذَّبُ بِبُكَاءِ الْحَىِّ " .
The dead is punished because of the lamentation of the living.