Qays bin Abu Hazim reported,

Abu Bakr stood up, praised Allah and glorified Him, then said, "People, you recite this verse, 'You who believe, take care of your own souls. Those who go astray cannot harm you if you are rightly guided' [Maidah 5:105], but we heard the Messenger of Allah ﷺ say, 'When people see wrongdoing and do not change it, Allah is about to encompass them all with His punishment.'"

Azami 14692

Sahih

عن قيس بن أبي حازم قال

قام أبو بكر، فحمد الله وأثنى عليه، ثم قال: يا أيها الناس إنكم تقرؤون هذه الآية {يأيها الذين ءامنوا عليكم أنفسكم لا يضركم من ضل إذا اهتديتم} [سورة المائدة: ١٠٥] وإنا سمعنا رسول الله ﷺ يقول: إن الناس إذا رأوا المنكر لا يغيرونه أوشك أن يعمهم الله بعقابه.

الأعظمي 14692صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Hisbah, dawah, and the sermon
Section
Enjoining good and forbidding evil
Numbering
Jami al-Kamil 14692 (2nd edition)
Azami 14692