[Machine] When the Messenger of Allah ﷺ sent me to Yemen, I said, "You are sending me while I am young and have little knowledge of the rulings?" So he said to me, "When the disputing parties come to you, do not decide in favor of the first one until you hear what the other says. For when you hear what the other says, you will know how to judge, as Allah will strengthen your tongue and guide your heart." Ali said, "I have continued to be a judge since then."
لَمَّا بَعَثَنِي رَسُولُ اللهِ ﷺ إِلَى الْيَمَنِ قُلْتُ تَبْعَثُنِي وَأَنَا حَدِيثُ السِّنِّ لَا عِلْمَ لِي بِكَثِيرٍ مِنَ الْقَضَاءِ؟ فَقَالَ لِي إِذَا أَتَاكَ الْخَصْمَانِ فَلَا تَقْضِ لِلْأَوَّلِ حَتَّى تَسْمَعَ مَا يَقُولُ الْآخَرُ فَإِنَّكَ إِذَا سَمِعْتَ مَا يَقُولُ الْآخَرُ عَرَفْتَ كَيْفَ تَقْضِي إِنَّ اللهَ سَيُثَبِّتُ لِسَانَكَ وَيَهْدِي قَلْبَكَ قَالَ عَلِيٌّ ؓ فَمَا زِلْتُ قَاضِيًا بَعْدُ