It wasnarrated that 'Ubadah bin Samit said:
"When the Messenger ofAllah (ﷺ) followed a funeral, he would not sit down until it hadbeen placed in the niche-grave. A rabbi came to him and said: 'Thisiswhat we do, O Muhammad!' So the Messenger of Allah (ﷺ) satdown andsaid: 'Be different from them.'" (TR)
English reference (TR): Vol. 1, Book 6, Hadith 1545 (TR)
Arabic reference (TR): Book 6, Hadith 1612 (TR)