Abu Bakra reported,

A man praised another man in the presence of the Prophet ﷺ, so he said, "Woe to you, you have cut your companion's neck. You have cut your companion's neck," repeating it several times. Then he said, "If any of you must praise his brother, let him say, 'I reckon so-and-so to be such, and Allah is his reckoner, and I do not declare anyone pure before Allah. I reckon him to be such and such,' if he indeed knows that of him."

Bukhari 2662

Sahih

حدثنا محمد بن سلام أخبرنا عبد الوهاب حدثنا خالد الحذاء

عن عبد الرحمن بن أبي بكرة عن أبيه قال

أثنى رجل على رجل عند النبي ﷺ فقال ويلك قطعت عنق صاحبك قطعت عنق صاحبك مرارا ثم قال من كان منكم مادحا أخاه لا محالة فليقل أحسب فلانا والله حسيبه ولا أزكي على الله أحدا أحسبه كذا وكذا إن كان يعلم ذلك منه

البخاري 2662صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Testimonies
Chapter
If a man vouches for another man, that suffices
Numbering
Darussalam 2662
Bukhari 2662