Sunan Ibn Majah, Book 6, Hadith 52 (Ibn Majah 1484)

It was narrated from ‘Abdullah bin Mas’ud that the Messenger of Allah (ﷺ) said:

‘The funeral should be followed and should not follow. There should be no one with it who walks ahead of it.”