Sunan an-Nasa'i, Book 46, Hadith 36 (In-Book) ⓘ
It was narrated that Abu Zurah said: "Abu Hurairah said: 'Carrying out a Hadd punishment in a land is better for its people than if it were to rain for forty nights." (Daif)
أَخْبَرَنَا عَمْرُو بْنُ زُرَارَةَ، قَالَ أَنْبَأَنَا إِسْمَاعِيلُ، قَالَ حَدَّثَنَا يُونُسُ بْنُ عُبَيْدٍ، عَنْ جَرِيرِ بْنِ يَزِيدَ، عَنْ أَبِي زُرْعَةَ، قَالَ قَالَ أَبُو هُرَيْرَةَ إِقَامَةُ حَدٍّ بِأَرْضٍ خَيْرٌ لأَهْلِهَا مِنْ مَطَرِ أَرْبَعِينَ لَيْلَةً .
also referenced under: Hadith 4905 (Reference) & Volume 5, Book 46, Hadith 4909 (DarusSalam)