[Machine] I heard the Messenger of Allah ﷺ saying: "The one riding behind the funeral procession, the one walking close to it, and the child, they should all pray for it." Narrated by Yunus bin Ubaid from Ziyad bin Jubair.
سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ «الرَّاكِبُ خَلْفَ الْجِنَازَةِ وَالْمَاشِي قَرِيبًا مِنْهَا وَالطِّفْلُ يُصَلَّى عَلَيْهِ» رَوَاهُ يُونُسُ بْنُ عُبَيْدٍ عَنْ زِيَادِ بْنِ جُبَيْرٍ