It was narrated from Al-Mughirah bin Shu'bah that: the Messenger of Allah said: The rider should move behind the Janazah and the pedestrian may walk wherever he wishes, and the (funeral) prayer should be offered for a child.
مغیرہ بن شعبہ رضی الله عنہ کہتے ہیں کہ رسول اللہ صلی اللہ علیہ وسلم نے فرمایا: ”سوار جنازے کے پیچھے رہے، پیدل چلنے والا اس کے ( آگے پیچھے دائیں بائیں ) جس طرف چاہے رہے، اور شیرخوار بچہ کی نماز جنازہ پڑھی جائے گی“۔