´It was narrated that ‘Ubadah bin Samit said:` “When the Messenger of Allah (ﷺ) followed a funeral, he would not sit down until it had been placed in the niche-grave. A rabbi came to him and said: ‘This is what we do, O Muhammad!’ So the Messenger of Allah (ﷺ) sat down and said: ‘Be different from them.’”
Hadith Referenceسنن ابن ماجه / كتاب الجنائز / 1545
Hadith Gradingالألبانی:حسن | زبیر علی زئی:ضعيف, إسناده ضعيف, سنن أبي داود (3176) ترمذي (1020), انوار الصحيفه، صفحه نمبر 433