Mishkat al-Masabih 1681
وَعَنْ عُبَادَةَ بْنِ الصَّامِتِ قَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا تَبِعَ جَنَازَةً لَمْ يَقْعُدْ حَتَّى تُوضَعَ فِي اللَّحْدِ فَعَرَضَ لَهُ حَبْرٌ مِنَ الْيَهُودِ فَقَالَ لَهُ: إِنَّا هَكَذَا نضع يَا مُحَمَّدُ قَالَ: فَجَلَسَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَقَالَ: «خَالِفُوهُمْ» . رَوَاهُ التِّرْمِذِيُّ وَأَبُو دَاوُدَ وَابْنُ مَاجَهْ وَقَالَ التِّرْمِذِيُّ: هَذَا حَدِيثٌ غَرِيبٌ وَبِشْرُ بْنُ رَافِعٍ الرَّاوِي لَيْسَ بِالْقَوِيّ
From ʿUbadah ibn as-Samit, who said: When the Messenger of Allah ﷺ followed a funeral, he would not sit until it was placed in the lahd. Then a rabbi of the Jews came up to him and said to him: "This is how we do it, O Muhammad." He said: So the Messenger of Allah ﷺ sat down and said: "Differ from them." Reported by at-Tirmidhi, Abu Dawud and Ibn Majah. At-Tirmidhi said: "This is a gharib hadith, and Bishr ibn Rafiʿ, the narrator, is not strong."