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.'" (FR)
English reference (FR): Vol. 1, Book 6, Hadith 1545 (FR)
Arabic reference (FR): Book 6, Hadith 1612 (FR)