Salama bin Akwa reported,

We were with the Prophet ﷺ when a funeral procession passed by, and the deceased was praised in fine terms.He said, "It has become certain!"Then another funeral passed by, and the deceased was spoken of less favorably.He said, "It has become certain!"They asked, "Messenger of Allah, what has become certain?"He replied, "The angels are Allah's witnesses in the heavens, and you are Allah's witnesses on the earth. Whatever you testify to has become certain."Then he recited, "And say, 'Work, for Allah will see your deeds, and so will His Messenger and the believers'" [Tawba 9:105].

Azami 3643

Hasan

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

كنا مع النبي ﷺ فمر عليه بجنازة، فأثني عليها ب حدثناء حسن، فقال: وجبت! ومر عليه بجنازة أخرى، فأثني عليها دون ذلك، فقال: وجبت! قالوا: يا رسول الله، ما وجبت؟ قال: الملائكة شهداء الله في السماء، وأنتم شهداء الله في الأرض، فما شهدتم عليه وجب. ثم قرأ: {وقل اعملوا فسيرى الله عملكم ورسوله والمؤمنون} الآية. [سورة التوبة: ١٠٥].

الأعظمي 3643حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Deceased, carrying the funeral bier, and standing for it
Section
Praise of the people for the deceased
Numbering
Jami al-Kamil 3643 (2nd edition)
Azami 3643