Abdullah bin Masud reported,

We asked our Prophet ﷺ about walking with the funeral procession. He said, "At a pace less than a brisk trot. If the deceased was righteous, then it is good to hasten him to his reward, and if he was otherwise, then may the people of the Fire be cast far away. The funeral bier is to be followed, not led. No one who walks ahead of it is truly with it."

Abu Dawud 3184

Daif

حدثنا مسدد حدثنا أبو عوانة عن يحيى المجبر قال أبو داود وهو يحيى بن عبد الله التيمي عن أبي ماجدة

عن ابن مسعود قال

سألنا نبينا ﷺ عن المشي مع الجنازة فقال ما دون الخبب إن يكن خيرا تعجل إليه وإن يكن غير ذلك فبعدا لأهل النار والجنازة متبوعة ولا تتبع ليس معها من تقدمها

أبو داود 3184ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Funerals
Chapter
Hastening with the funeral
Numbering
Darussalam 3184
Abu Dawud 3184