It is narrated from Hazrat Jarir (may Allah be pleased with him) that the Holy Prophet (peace and blessings be upon him) said: "Whenever a people commit a sin, and among them is an honorable and respected person who does not stop them, then Allah's punishment descends upon all of them."
Hadith Referenceمسند احمد / تتمہ مُسْنَدِ الْكُوفِيِّينَ / 19253