Sayyiduna Ali (may Allah be pleased with him) states: The Prophet (peace and blessings be upon him) sent me to Yemen as a judge. I said: O Messenger of Allah, I am a young man, and you are sending me to people of advanced age? He (peace and blessings be upon him) made supplications for me and said: "Do not decide after hearing one of two disputing parties until you have heard the other; that is better." He says: After that, no judgement ever became confused for me.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النذور / 20153