"O you people! You recite this Ayah: Take care of yourselves! If you follow the guidance no harm shall come to you from those who are astray (5:105). I indeed heard the Messenger of Allah ﷺ saying: 'When the people see the wrongdoer, and they do not stop him (from doing wrong), then it is soon that Allah shall envelope you in a punishment from Him.'"
أَنَّهُ قَالَ يَا أَيُّهَا النَّاسُ إِنَّكُمْ تَقْرَءُونَ هَذِهِ الآيَةَ ( يَا أَيُّهَا الَّذِينَ آمَنُوا عَلَيْكُمْ أَنْفُسَكُمْ لاَ يَضُرُّكُمْ مَنْ ضَلَّ إِذَا اهْتَدَيْتُمْ ) وَإِنِّي سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ إِنَّ النَّاسَ إِذَا رَأَوْا ظَالِمًا فَلَمْ يَأْخُذُوا عَلَى يَدَيْهِ أَوْشَكَ أَنْ يَعُمَّهُمُ اللَّهُ بِعِقَابٍ مِنْهُ