صحيح مسلم
From Sahih Muslim (Hadith 2152):
Abdullah b. 'Umar reported that the Messenger of Allah (ﷺ) said:The dead is punished because of the lamentation of the living
Reference: Muslim 2152