Ali bin Abu Talib reported,

The Messenger of Allah ﷺ sent me to Yemen, so I said, "Messenger of Allah, you are sending me when I am young and will have to judge between them, yet I have no knowledge of how to judge."He struck my chest with his hand and said, "Allah, guide his heart and make his tongue firm."After that, I never had any doubt about a judgment between two people.

Ibn Majah 2310

Daif

حدثنا علي بن محمد حدثنا يعلى وأبو معاوية عن الأعمش عن عمرو بن مرة عن أبي البختري

عن علي قال

بعثني رسول الله ﷺ إلى اليمن فقلت يا رسول الله تبعثني وأنا شاب أقضي بينهم ولا أدري ما القضاء قال فضرب بيده في صدري ثم قال اللهم اهد قلبه وثبت لسانه قال فما شككت بعد في قضاء بين اثنين

ابن ماجه 2310ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Rulings
Chapter
Judges
Numbering
Darussalam 2310
Ibn Majah 2310