It wasnarrated from 'Umar bin Khattab that the Prophet (ﷺ) said:
"Thedeceased is punished for the wailing over him." (ID)
English reference (ID): Vol. 1, Book 6, Hadith 1593 (ID)
Arabic reference (ID): Book 6, Hadith 1661 (ID)