Sahih Muslim, Book 11, Hadith 30 (Muslim 2130)

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

The dead is punished because of the lamentation of the living.