It was conveyed by him to the Prophet ﷺ that he said, "When evil becomes widespread on earth, Allah sends down His punishment upon the people of the earth."She asked, "Even though there are among them people who obey Allah?"He replied, "Yes, then they pass on to the mercy of Allah, the Exalted."
حدثنا سفيان عن جامع بن أبي راشد عن منذر عن حسن بن محمد عن امرأته
تبلغ به النبي ﷺ إذا ظهر السوء في الأرض أنزل الله بأهل الأرض بأسه قالت وفيهم أهل طاعة الله عز وجل قال نعم ثم يصيرون إلى رحمة الله تعالى
Its isnad is daif due to the unknown identity of the wife of Hasan bin Muhammad. Haythami said likewise in 7/268, and it will come again as sahih in 26475.