Umar reported Allah's Apostle (ﷺ) as saying
The dead is punished in the grave because of wailing on it.