Sunan an-Nasa'i, Volume 3, Book 21, Hadith 1854 (DarusSalam) ⓘ
It was narrated that 'Umar said: "I heard the Messenger of Allah say: 'The deceased is punished in his grave due to the wailing over him."'
أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ، قَالَ حَدَّثَنَا يَحْيَى، قَالَ حَدَّثَنَا شُعْبَةُ، قَالَ حَدَّثَنَا قَتَادَةُ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنِ ابْنِ عُمَرَ، عَنْ عُمَرَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ " الْمَيِّتُ يُعَذَّبُ فِي قَبْرِهِ بِالنِّيَاحَةِ عَلَيْهِ " .
also referenced under: Hadith 1853 (Reference) & Book 21, Hadith 36 (In-Book)