Abu Bakra reported,

A man praised another man in the presence of the Prophet ﷺ. The Prophet ﷺ said, "Woe to you, you have cut your brother's neck," repeating it three times. Then he said, "If any of you must praise someone, 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 him to be so."

Azami 11276

Sahih

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

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

الأعظمي 11276صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications for various occasions
Section
What one should say when wanting to praise a man
Numbering
Jami al-Kamil 11276 (2nd edition)
Azami 11276