The wikipedia entry about Rashidun Caliphate says:
Various Islamic lawyers do however place multiple conditions, and stipulations e.g. the poor cannot be penalised for stealing out of poverty, before executing such a law, making it very difficult to reach such a stage. It is well known during a time of drought in the Rashidun caliphate period, capital punishments were suspended until the effects of the drought passed.
When did this drought happen? When did the authorities suspend capital punishments?