Riyad as-Salihin #1789 · The Book of the Prohibited actions

Riyad as-SalihinAbu Bakrah
Riyad as-Salihin · Book 18 · The Book of the Prohibited actions
Riyad as-Salihin · كتاب 18 · كتاب الأمور المنهي عنها
Mention of a man was made to the Prophet (صلى الله عليه وسلم) and someone praised him whereupon he (صلى الله عليه وسلم) said, "Woe be to you! You have broken the neck of your friend!" He repeated this several times and added, "If one of you has to praise his friend at all, he should say: 'I reckon him to be such and such and Allah knows him well', if you think him to be so-and-so, you will be accountable to Allah because no one can testify the purity of others against Allah." [Al-Bukhari and Muslim] .
وعن أبي بكر رضي الله عنه أن رجلا ذُكر عند النبي صلى الله عليه وسلم ، فأثنى عليه رجل خيرًا، فقال النبي صلى الله عليه وسلم :
"ويحك! قطعت عنق صاحبك" يقوله مرارًا "وإن كان أحدكم مادحًا لا محالة، فليقل: أحسب كذا وكذا إن كان يرى أنه كذلك وحسيبه الله، ولا يزكي على الله أحدًا" ((متفق عليه)).
Reference : Riyad as-Salihin 1789In-book reference : Book 18, Hadith 279