Abu Hurairah reported,

A funeral procession passed by the Messenger of Allah ﷺ, and the people spoke well of the deceased. He said, "It has become certain."Then another funeral procession passed by him, and the people spoke ill of the deceased. He said, "It has become certain."They asked, "Messenger of Allah, what has become certain?"He replied, "You are witnesses for one another."

Ahmad 10013

Sahih

حدثنا وكيع عن سفيان ومسعر عن إبراهيم بن عامر بن مسعود الجمحي قال سفيان عن عامر بن سعد وقال مسعر أظنه عن عامر بن سعد

عن أبي هريرة قال

مروا على رسول الله ﷺ بجنازة فأثنوا عليها خيرا فقال وجبت ثم مروا عليه بجنازة فأثنوا عليها شرا فقال وجبت فقالوا يا رسول الله ما وجبت قال بعضكم شهداء على بعض

أحمد 10013صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 10013
Ahmad 10013