Mughira bin Shuba reported,

The Messenger of Allah ﷺ said, "The rider follows behind the funeral procession, while the one on foot may walk wherever he wishes around it, and the funeral prayer is performed over the infant."

Ahmad 18162

Sahih

حدثنا عبد الواحد الحداد حدثنا سعيد بن عبيد الله الثقفي عن زياد بن جبير

عن المغيرة بن شعبة قال

قال رسول الله ﷺ الراكب خلف الجنازة والماشي حيث شاء منها والطفل يصلى عليه

أحمد 18162صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Mughira bin Shuba
Numbering
Darussalam 18162
Ahmad 18162