Sahih Muslim
3000.01

Abd al-Rahman b. Abu Bakra reported on the authority of his father that a person praised another person in the presence of Allah's Apostle (ﷺ), whereupon he said:Woe be to thee, you have broken the neck of your friend, you have broken the neck of your friend-he said this twice. If one of you has to praise his friend at all, he should say: I think (him to be) so and Allah knows it well and I do not know the secret of the heart and Allah knows the destined end, and I cannot testify his purity against Allah but (he appears) to be so and so

3000.02

Abd al-Rahman b. Abu Bakra reported on the authority of his father that a person was mentioned in the presence of Allah's Apostle (ﷺ), and a person said:Allah's Messenger, no person is more excellent than he after Allah's Messenger (ﷺ). Thereupon Allah's Apostle (ﷺ) said: Woe be to thee, you have broken the neck of your friend, and he said this twice. Then Allah's Messenger (ﷺ) said: If anyone has to praise his brother at all, he should say: I think him to be so and so, and even on this he should say: I do not consider anyone purer than Allah (considers)

3000.03

his hadith has been transmitted on the authority of Shu'ba with a slight variation of wording