Anas bin Malik reported,

We were with Umar between Makkah and Madinah when we tried to sight the new moon. I was a man of sharp eyesight, so I saw it, though no one else claimed to have seen it but me.I kept saying to Umar, "Don't you see it?" but he could not see it.Umar said, "I will see it while I am lying on my bed."Then he began to tell us about the people of Badr. He said, "The Messenger of Allah ﷺ used to show us, the day before the battle, the places where the people of Badr would fall. He would say, 'This is where so-and-so will fall tomorrow, if Allah wills.'"Umar said, "By the One who sent him with the truth, they did not miss the boundaries that the Messenger of Allah ﷺ had marked out."He said, "They were then thrown into a well, one on top of another. The Messenger of Allah ﷺ went until he came to them and said, 'So-and-so, son of so-and-so, and so-and-so, son of so-and-so, have you found what Allah and His Messenger promised you to be true? For I have indeed found what Allah promised me to be true.'"Umar said, "Messenger of Allah, how can you speak to bodies that have no souls in them?"He replied, "You do not hear what I say better than they do, except that they are unable to answer me back."

Muslim 7222

Sahih

حدثني إسحق بن عمر بن سليط الهذلي حدثنا سليمان بن المغيرة عن ثابت قال قال أنس كنت مع عمر ح و حدثنا شيبان بن فروخ واللفظ له حدثنا سليمان بن المغيرة عن ثابت

عن أنس بن مالك قال

كنا مع عمر بين مكة والمدينة فتراءينا الهلال وكنت رجلا حديد البصر فرأيته وليس أحد يزعم أنه رآه غيري قال فجعلت أقول لعمر أما تراه فجعل لا يراه قال يقول عمر سأراه وأنا مستلق على فراشي ثم أنشأ يحدثنا عن أهل بدر فقال إن رسول الله ﷺ كان يرينا مصارع أهل بدر بالأمس يقول هذا مصرع فلان غدا إن شاء الله قال فقال عمر فوالذي بعثه بالحق ما أخطئوا الحدود التي حد رسول الله ﷺ قال فجعلوا في بئر بعضهم على بعض فانطلق رسول الله ﷺ حتى انتهى إليهم فقال يا فلان بن فلان ويا فلان بن فلان هل وجدتم ما وعدكم الله ورسوله حقا فإني قد وجدت ما وعدني الله حقا قال عمر يا رسول الله كيف تكلم أجسادا لا أرواح فيها قال ما أنتم بأسمع لما أقول منهم غير أنهم لا يستطيعون أن يردوا علي شيئا

مسلم 7222صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Paradise and the description of its bliss and its people
Chapter
Presenting the deceased's seat in Paradise or Hell to them, and affirming the punishment of the grave and seeking refuge from it
Numbering
Darussalam 7222
Muslim 7222