Al-Mughirah bin Shu'bah (May Allah be pleased with him) said:
I heard the Messenger of Allah (ﷺ) saying, "He who allows (others) to wail over his death, will be punished for it on the Day of Resurrection."[Al-Bukhari and Muslim]. (ES)
App reference (ES): Book 18, Hadith 150 (ES)
Arabic/English book reference (ES): Book 18, Hadith 1660 (ES)