‘A’isha reported God's Messenger as saying, “The day of resurrection will come to the just qadi and he will wish he had never given judgment between two men about a single date.”*
Ahmad transmitted it.
* He will wish he had never given judgment even about the most insignificant matters.