It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:
“A legal punishment that is carried out in the land is better for the people of that land than if it were to rain for forty days.”
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُصَفَّى الْحِمْصِيُّ، قَالَ حَدَّثَنَا بَقِيَّةُ، عَنْ جَرِيرِ بْنِ يَزِيدَ، قَالَ حَدَّثَنِي مُنْذِرٌ، حَدَّثَنِي مُحَمَّدُ بْنُ الْمُنْكَدِرِ، عَنْ جَابِرٍ، قَالَ مَرَّ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ بِرَجُلٍ يَتَوَضَّأُ وَيَغْسِلُ خُفَّيْهِ فَقَالَ بِيَدِهِ كَأَنَّهُ دَفَعَهُ " إِنَّمَا أُمِرْتَ بِالْمَسْحِ " . …
It was narrated that Jabir said:
"The Messenger of Allah (ﷺ) passed by a man who was performing ablution and washing his leather socks. He gestures with his hand, (and said): 'Rather I have been commanded to wipe them.'…
Abu Hurairah said:
"The Messenger of Allah (ﷺ) said: 'A Hadd punishment that is carried out on earth is better for the people of earth than if it were to rain for thirty mornings."' (Daif)
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)