«الراكب يسير خلف الجنازة والماشي يمشي خلفها وأمامها وعن يمينها وعن يسارها قريبا منها والسقط يصلى عليه ويدعى لوالديه بالمغفرة والرحمة»
The Prophet (peace and blessings be upon him) said:
"The rider should travel behind the funeral procession, and the one walking may walk behind it, in front of it, and on its right and its left, close to it. The funeral prayer should be offered for a miscarried child, and supplication should be made for his parents for forgiveness and mercy."
Hadith Referenceصحیح الجامع الصغیر / حرف الراء / 3525