Sayyidina Mughirah ibn Shu’bah reported that the Prophet (SAW) said. “The rider accompanying the funeral must keep behind it while he who walks may walk wherever he likes. And, salah must he offered over (dead) children (also).”
[Ahmed18186, Abu Dawud 3180, Nisai 1938, Ibn e Majah 1507]
--------------------------------------------------------------------------------