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