"The Messenger of Allah said: "The rider should travel behind the Janazah and the pedestrian may travel wherever he wishes, and the (funeral) prayer should be offered for a child."'
Sunan an-Nasa'i Book 21, Hadith 126