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 thus and thus,' if he truly knows that of him."

Azami 13435

Sahih

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

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

الأعظمي 13435صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Najm
Section
His saying, "Those who avoid the major sins and immoralities, except for minor lapses. Indeed, your Lord is Wasi in forgiveness. He knows best about you when He produced you from the earth and when you were fetuses in the wombs of your mothers. So do not claim purity for yourselves. He knows best who has attained taqwa."
Numbering
Jami al-Kamil 13435 (2nd edition)
Azami 13435