The Prophet ﷺ was once told about a certain man, and someone said, "Messenger of Allah, there is no man after the Messenger of Allah ﷺ better than him in such and such."The Prophet ﷺ said, "Woe to you, you have cut your companion's neck!" He repeated this several times. Then the Messenger of Allah ﷺ said, "If one of you must praise his brother, let him say, 'I reckon so-and-so to be such,' if he indeed thinks that of him, and I do not declare anyone pure before Allah."
و حدثني محمد بن عمرو بن عباد بن جبلة بن أبي رواد حدثنا محمد بن جعفر ح و حدثني أبو بكر بن نافع أخبرنا غندر قال شعبة حدثنا عن خالد الحذاء
عن النبي ﷺ أنه ذكر عنده رجل فقال رجل يا رسول الله ما من رجل بعد رسول الله ﷺ أفضل منه في كذا وكذا فقال النبي ﷺ ويحك قطعت عنق صاحبك مرارا يقول ذلك ثم قال رسول الله ﷺ إن كان أحدكم مادحا أخاه لا محالة فليقل أحسب فلانا إن كان يرى أنه كذلك ولا أزكي على الله أحدا