Jami` at-Tirmidhi 1011
Grading supplied with this record: Da'if (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَا دُونَ الْخَبَبِ فَإِنْ كَانَ خَيْرًا عَجَّلْتُمُوهُ وَإِنْ كَانَ شَرًّا فَلاَ يُبَعَّدُ إِلاَّ أَهْلُ النَّارِ الْجَنَازَةُ مَتْبُوعَةٌ وَلاَ تَتْبَعُ وَلَيْسَ مِنْهَا مَنْ تَقَدَّمَهَا "
Yahya, the Imam of Banu Taimillah, narrated from Abu Majid :
From Abdullah bin Mas'ud who said: "We asked the Messenger of Allah about walking behind the funeral. He said: 'Less than a trot. For if he was good, then you will be hastening him to it (goodness), and if he was evil, then it id only an inhabitant of the Fire that is being taken away." The funeral is (to be) followed. The one who precedes it shall not have the reward of those who follow it.'"
Full reference and source
Jami` at-Tirmidhi 1011 In-book : Book 10, Hadith 47 English translation : Vol. 2, Book 5, Hadith 1011
View source on Sunnah.com (opens in a new tab)