ENOfficial
‘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.
Source: sunnah.com
Other translations
Arabic
وَعَنْ عَائِشَةَ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «لَيَأْتِيَنَّ عَلَى الْقَاضِي الْعَدْلِ يومُ القيامةِ يَتَمَنَّى أَنَّهُ لَمْ يَقْضِ بَيْنَ اثْنَيْنِ فِي تَمْرَة قطّ» . رَوَاهُ أَحْمد
sunnah.com