Anas bin Malik reported,

A funeral procession passed by the Prophet ﷺ, and he mentioned it with the same meaning as the hadith of Abdul-Aziz from Anas, except that the hadith of Abdul-Aziz is more complete.

Muslim 2201

Sahih

و حدثني أبو الربيع الزهراني حدثنا حماد يعني ابن زيد ح و حدثني يحيى بن يحيى أخبرنا جعفر بن سليمان كلاهما عن ثابت

عن أنس قال

مر على النبي ﷺ بجنازة فذكر بمعنى حديث عبد العزيز عن أنس غير أن حديث عبد العزيز أتم

مسلم 2201صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Funerals
Chapter
Those among the dead who are praised with good or evil
Numbering
Darussalam 2201
Muslim 2201