Anas bin Malik reported,

The Prophet, peace and blessings be upon him, entered some ruins belonging to Banu Najjar to relieve himself, then came out to us alarmed, or frightened, and said, "Were it not that you would cease to bury one another, I would have asked Allah تبارك وتعالى to make you hear of the torment of the people of the graves what I have heard."

Ahmad 12096

Sahih

حدثنا سفيان قال سمع قاسم الرحال

أنسا يقول

دخل النبي عليه الصلاة والسلام خربا لبني النجار وكان يقضي فيها حاجة فخرج إلينا مذعورا أو فزعا وقال لولا أن لا تدافنوا لسألت الله تبارك وتعالى أن يسمعكم من عذاب أهل القبور ما أسمعني

أحمد 12096صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 12096
Ahmad 12096