It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Five things are in return for five things." The Companions said: O Messenger of Allah, what are the five for five? He (peace and blessings be upon him) said: "No people break a covenant except that their enemy is given power over them; no people judge by other than what Allah has revealed except that poverty spreads among them; immorality does not become widespread among a people except that death (pestilence) spreads among them; no people give short measure except that produce is withheld from them and they are afflicted with years of famine; and no people withhold zakah except that rain is withheld from them."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10946