(9) باب الْمَيِّتُ يُعَذَّبُ بِبُكَاءِ أَهْلِهِ عَلَيْهِ
'Abdullah b. 'Umar reported that Hafsa wept for 'Umar (when he was about to die). He ('Umar) said:
Be quiet, my daughter. Don't you know that the Messenger of Allah (ﷺ) had said:" The deceased is punished because of his family's weeping over the death"? (ID)
Reference (ID): Sahih Muslim 927 a (ID)
In-book reference (ID): Book 11, Hadith 20 (ID)
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 2015 (ID)