Abu Zuhayr reported,

I heard the Messenger of Allah ﷺ say in his sermon at Nabawah, or Banawah, near Taif, "You will soon come to know the people of Paradise from the people of the Fire," or "the best of you from the worst of you," and I only recall him saying, "the people of Paradise from the people of the Fire."A man from among the Muslims asked, "By what, Messenger of Allah?"He replied, "By good praise and bad reputation. You are witnesses over one another."

Ahmad 24009.64

Sahih

حدثنا يزيد بن هارون: حدثنا نافع بن عمر عن أمية ابن صفوان،

عن أبي بكر بن أبي زهير، عن أبيه قال

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

أحمد 24009.64صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Zuhayr Thaqafi
Numbering
Darussalam 24009.64
Ahmad24009. 24009.64