Sunan Ibn Majah
Sunan Ibn Majah 1484
حَدَّثَنَا أَحْمَدُ بْنُ عَبْدَةَ، أَنْبَأَنَا عَبْدُ الْوَاحِدِ بْنُ زِيَادٍ، عَنْ يَحْيَى بْنِ عَبْدِ اللَّهِ التَّيْمِيِّ، عَنْ أَبِي مَاجِدَةَ الْحَنَفِيِّ، عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " الْجِنَازَةُ مَتْبُوعَةٌ وَلَيْسَتْ بِتَابِعَةٍ لَيْسَ مِنْهَا مَنْ تَقَدَّمَهَا " .
Unreviewed translation. All hadiths in this collection are available in five languages. Titles and introductions may remain in Arabic.
Ahmad ibn Abdah narrated to us; Abd al-Wahid ibn Ziyad informed us, from Yahya ibn Abdullah al-Taymi, from Abu Majidah al-Hanafi, from Abdullah ibn Mas‘ud, who said: The Messenger of Allah (peace and blessings be upon him) said: ‘The funeral procession is to be followed, not to follow others; no one accompanying it should walk ahead of it.’
Notes and open questions — unreviewed
The Arabic uses a concise paired expression: the funeral is followed rather than following, then clarifies that no one with it should go ahead.