Bulugh al-Maram, Book 3, Hadith 614 (English)

Ibn ’Umar (RAA) narrated that the Messenger of Allah said, “A dead person is tormented in his grave by the wailing for him.” Agreed upon.

وَعَنْ ابْن عُمَرَ ‏- رضى الله عنه ‏- عَنِ اَلنَّبِيِّ ‏- صلى الله عليه وسلم ‏-قَالَ: { اَلْمَيِّتُ يُعَذَّبُ فِي قَبْرِهِ بِمَا نِيحَ عَلَيْهِ } مُتَّفَقٌ عَلَيْه ِ 1‏.‏ ‏1 ‏- صحيح.‏ رواه البخاري ( 1292 )‏، ومسلم ( 927 )‏ ( 17 )‏.‏

sunnah.com

also referenced under: Book 3, Hadith 58 (In-Book)