Riyad as-Salihin, Book 18, Hadith 1657 (In-Book)

'Umar bin Al-Khattab (May Allah be pleased with him) said: The Prophet said, "The deceased is tortured in his grave for bewailing over him."[Al-Bukhari and Muslim].

عن عمر بن الخطاب رضي الله عنه قال‏:‏ قال النبي صلى الله عليه وسلم ‏:‏‏ "‏الميت يُعذب في قبره بما نِيح عليه ‏" ‏‏.‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

sunnah.com