Qays bin Abu Hazim reported,

Abu Bakr stood up, praised Allah and extolled 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.'"Abu Usama said on another occasion, "I heard the Messenger of Allah ﷺ say."

Ibn Majah 4005

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا عبد الله بن نمير وأبو أسامة عن إسمعيل بن أبي خالد

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

قام أبو بكر فحمد الله وأثنى عليه ثم قال يا أيها الناس إنكم تقرءون هذه الآية {يا أيها الذين آمنوا عليكم أنفسكم لا يضركم من ضل إذا اهتديتم} وإنا سمعنا رسول الله ﷺ يقول إن الناس إذا رأوا المنكر لا يغيرونه أوشك أن يعمهم الله بعقابه قال أبو أسامة مرة أخرى فإني سمعت رسول الله ﷺ يقول

ابن ماجه 4005صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Tribulations
Chapter
Enjoining good and forbidding evil
Numbering
Darussalam 4005
Ibn Majah 4005