The Prophet ﷺ said, "The deceased is punished due to his family's weeping over him."
حدثنا يحيى عن عبيد الله أخبرني نافع عن ابن عمر
عن النبي ﷺ قال يعذب الميت ببكاء أهله عليه
Its isnad is sahih. Ubayd is Ibn Umar bin Hafs bin Asim. This hadith is a repetition of the one before it.