(49) باب الْمَشْىِ أَمَامَ الْجَنَازَةِ
Narrated Al-Mughirah ibn Shu'bah:
(I think that the people of Ziyad informed me that he reported on the authority of the Prophet (ﷺ): A rider should go behind the bier, and those on foot should walk behind it, in front of it, on its right and on its left keeping near it. Prayer should be offered over an abortion and forgiveness and mercy supplicated for its parents.
Reference: Sunan Abi Dawud 3180
In-book reference: Book 21, Hadith 92
English translation: Book 20, Hadith 3174