Abu Bakra reported,

A man praised another man in the presence of the Prophet ﷺ, so the Messenger of Allah ﷺ said, "Woe to you, you have cut your companion's neck," repeating it several times. Then he said, "If one of you must praise his companion, 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 تبارك وتعالى,' if he truly knows that of him, 'I reckon him to be such and such.'"

Ahmad 20462

Sahih

حدثنا عفان حدثنا وهيب ويزيد يعني ابن زريع قالا حدثنا خالد الحذاء عن عبد الرحمن بن أبي بكرة

عن أبي بكرة قال

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

أحمد 20462صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Bakra Nufay bin Harith Thaqafi
Numbering
Darussalam 20462
Ahmad 20462