Al-Kāfi

Hadith 644
funeral-procession
5ـ حُمَيْدُ بْنُ زِيَادٍ عَنِ الْحَسَنِ بْنِ مُحَمَّدٍ الْكِنْدِيِّ عَنْ غَيْرِ وَاحِدٍ عَنْ أَبَانِ بْنِ عُثْمَانَ عَنْ مُحَمَّدِ بْنِ مُسْلِمٍ عَنْ أَبِي جَعْفَرٍ (عَلَيْهِ الْسَّلام) قَالَ امْشِ بَيْنَ يَدَيِ الْجَنَازَةِ وَخَلْفَهَا.
5. Humayd ibn Ziyad has narrated from al-Hassan ibn Muhammad al-Kindiy from more than one person from Aban ibn ‘Uthman from Muhammad ibn Muslim who has said the following: “Abu Ja‘far (a.s.), has said, ‘(In a funeral procession) walk in front or behind (the coffin).”’
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī