Sahih Muslim · Hadith 2229
The Book of Prayer (Funerals) - كتاب الجنائز
وحدثنا أبو بكر بن أبي شيبة، وزهير بن حرب، جميعا عن ابن عيينة، - قال أبو بكر حدثنا سفيان بن عيينة، - عن الزهري، عن سعيد، عن أبي هريرة، عن النبي صلى الله عليه وسلم قال " أسرعوا بالجنازة فإن تك صالحة فخير - لعله قال - تقدمونها عليه وإن تكن غير ذلك فشر تضعونه عن رقابكم " .
Abu Huraira reported Allah's Apostle (may peace be upon him) as saying: Make haste at a funeral; if the dead person was good, it is a good state to which you are sending him on; but if he was otherwise it is an evil of which you are ridding yourselves.
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).