Sahih Muslim Book 4, Hadith Number 2015.

Chapter : The dead body is punished for the lamentation of his family.

‘Abdullah b. ‘Umar reported that Hafsa wept for ‘Umar (when he was about to due). He (‘Umar) said: Be quiet, my daughter. Don’t you know that the Messenger of Allah (may peace be upon him) had said: “The dead is punished because of his family’s weeping over it”?