NASAI-KUBRA 8363:
from ʿAlī —
[Machine] The Prophet ﷺ sent me to Yemen when I was a young man. I said, "O Messenger of Allah, you have sent me to a people who are immature, and I am a young man." He said, "Verily, Allah will guide your heart and steady your tongue, so have no doubt about dealing with two disputing parties."
الكبرى للنسائي ٨٣٦٣:
عن علي —
بَعَثَنِي النَّبِيُّ ﷺ إِلَى الْيَمَنِ وَأَنَا شَابٌّ حَدِيثُ السِّنِّ فَقُلْتُ يَا رَسُولَ اللهِ «إِنَّكَ بَعَثَتْنِي إِلَى قَوْمٍ يَكُونُ بَيْنَهُمْ أَحْدَاثٌ وَأَنَا شَابٌّ حَدِيثُ السِّنِّ» قَالَ «إِنَّ اللهَ سَيَهْدِي قَلْبَكَ وَيُثَبِّتُ لِسَانَكَ فَمَا شَكَكْتُ فِي قَضَاءٍ بَيْنَ اثْنَيْنِ»
hadithunlocked.com