'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].
App reference: Book 18, Hadith 147
Arabic/English book reference: Book 18, Hadith 1657