Umm Mubashir reported,

Aishah said, "The Messenger of Allah ﷺ came in to me while I was in one of the orchards of Banu Najjar, in which were graves of some of them who had died in the days of ignorance. He heard them being punished, so he went out saying, 'Seek refuge with Allah from the punishment of the grave.'"She said, "I asked, 'Messenger of Allah, are they really being punished in their graves?'He replied, 'Yes, with a punishment that the beasts can hear.'"

Azami 3846

Sahih

عن أم مبشر قالت

دخل علي رسول الله ﷺ وأنا في حائط من حوائط بني النجار، فيه قبور منهم قد ماتوا في الجاهلية، فسمعهم وهم يعذبون، فخرج وهو يقول: استعيذوا بالله من عذاب القبر قالت: قلت: يا رسول الله! وإنهم ليعذبون في قبورهم؟ قال: نعم عذابا تسمعه البهائم.

الأعظمي 3846صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Conditions of the deceased in the grave
Section
People of the Jahiliyyah being punished in their graves
Numbering
Jami al-Kamil 3846 (2nd edition)
Azami 3846