The Prophet ﷺ said, "The deceased is tormented in his grave because of the wailing over him."
حدثنا يحيى حدثنا شعبة حدثنا قتادة عن سعيد بن المسيب عن ابن عمر
عن النبي ﷺ قال الميت يعذب في قبره بالنياحة عليه
The isnad is sahih. Yahya is Ibn Saeed Qattan.