Abu Atiya reported,

A man died during the time of the Messenger of Allah ﷺ, and some of the people said, "Messenger of Allah, do not pray over him."The Prophet ﷺ asked, "Has any of you seen him doing any good deed?"A man replied, "He stood guard with us on such-and-such a night."So the Messenger of Allah ﷺ prayed over him, then walked to his grave and threw earth upon it, saying, "Your companions suppose that you are among the people of the Fire, but I bear witness that you are among the people of Paradise."Then the Messenger of Allah ﷺ said to Umar, "You are not questioned about people's deeds, you are only questioned about backbiting."In another narration, "You are only questioned about the natural disposition."

Azami 3754

Hasan

عن أبي عطية

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

الأعظمي 3754حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Prayer over the deceased
Section
Prayer for everyone who does good
Numbering
Jami al-Kamil 3754 (2nd edition)
Azami 3754