The Prophet said: "The rider is to be behind the funeral (procession), and the walker…

Jami` at-Tirmidhi Book 10 Hadith 67

Jami` at-Tirmidhi #1031

The Book on Jana''iz (Funerals) 10:67

Al-Mughirah bin Shu'bah narrated that:

The Prophet said: "The rider is to be behind the funeral (procession), and the walker where he wishes, and the child should be prayed over."

Chapter: What Has Been Related About Salat For (The Funerals Of) Children

Grade: Sahih (Darussalam)