Sahih al-Bukhari, Book 23, Hadith 50 (Bukhari 1250)
Narrated Ibn 'Umar from his father:
The Prophet (ﷺ) said, "The deceased is tortured in his grave for the wailing done over him." Narrated Shu'ba: The deceased is tortured for the wailing of the living ones over him .