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: "A single day of a just ruler is better than sixty years of worship, and a hadd (prescribed punishment) established in the land with its due right is more purifying for it than forty years of rain."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11882