The Prophet said: "The deceased is punished for the crying of his family over him." So…

Jami` at-Tirmidhi Book 10 Hadith 40

Jami` at-Tirmidhi #1004

The Book on Jana''iz (Funerals) 10:40

Yahya bin Abdur-Rahman narrated from Ibn Umar that:

The Prophet said: "The deceased is punished for the crying of his family over him." So, Aishah said: "May Allah have mercy upon him. He has not lied, but he is mistaken. It is only that the Messenger of Allah said about a Jewish man who died: 'The deceased is being punished and his family is crying over him.'"

Chapter: What Has Been Related About The Permission For Crying Over The Deceased

Grade: Hasan (Darussalam)