Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
hakim:4658ʿAlī b. Ḥamshādh > al-ʿAbbās b. al-Faḍl al-Asfāṭī > Aḥmad b. Yūnus > Abū Bakr b. ʿAyyāsh > al-Aʿmash > ʿAmr b. Murrah > Abū al-Bakhtarī

[Machine] "Ali, the Messenger of Allah ﷺ sent me to Yemen. So, I said, 'O Messenger of Allah, I am a young man and I receive judgments that I do not have knowledge about.' He placed his hand on my chest and said, 'O Allah, make his tongue firm and guide his heart.' After that, I never doubted any judgment or any decree."  

الحاكم:٤٦٥٨حَدَّثَنِي عَلِيُّ بْنُ حَمْشَاذٍ ثنا الْعَبَّاسُ بْنُ الْفَضْلِ الْأَسْفَاطِيُّ ثنا أَحْمَدُ بْنُ يُونُسَ ثنا أَبُو بَكْرِ بْنُ عَيَّاشٍ عَنِ الْأَعْمَشِ عَنْ عَمْرِو بْنِ مُرَّةَ عَنْ أَبِي الْبَخْتَرِيِّ قَالَ قَالَ

عَلِيٌّ بَعَثَنِي رَسُولُ اللَّهِ ﷺ إِلَى الْيَمَنِ قَالَ فَقُلْتُ يَا رَسُولَ اللَّهِ إِنِّي رَجُلٌ شَابٌّ وَأَنَّهُ يَرِدُ عَلَيَّ مِنَ الْقَضَاءِ مَا لَا عَلْمَ لِي بِهِ قَالَ فَوَضَعَ يَدَهُ عَلَى صَدْرِي وَقَالَ «اللَّهُمَّ ثَبِّتْ لِسَانَهُ وَاهْدِ قَلْبَهُ» فَمَا شَكَكْتُ فِي الْقَضَاءِ أَوْ فِي قَضَاءٍ بَعْدُ  

«هَذَا حَدِيثٌ صَحِيحٌ عَلَى شَرْطِ الشَّيْخَيْنِ وَلَمْ يُخَرِّجَاهُ» على شرط البخاري ومسلم

See similar narrations below:

Collected by Ibn Mājah
ibnmajah:2310ʿAlī b. Muḥammad > Yaʿlá And ʾAbū Muʿāwiyah > al-Aʿmash > ʿAmr b. Murrah > Abū al-Bakhtarī > ʿAlī

“The Messenger of Allah ﷺ sent me to Yemen. I said: 'O Messenger of Allah, you are sending me to judge between them while I am a young man, and I do not know how to judge.' He struck me on the chest with his hand and said: 'O Allah, guide his heart and make his tongue steadfast.' And after that I never doubted in passing judgment between two people.”  

ابن ماجة:٢٣١٠حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ حَدَّثَنَا يَعْلَى وَأَبُو مُعَاوِيَةَ عَنِ الأَعْمَشِ عَنْ عَمْرِو بْنِ مُرَّةَ عَنْ أَبِي الْبَخْتَرِيِّ عَنْ عَلِيٍّ قَالَ

بَعَثَنِي رَسُولُ اللَّهِ ﷺ إِلَى الْيَمَنِ فَقُلْتُ يَا رَسُولَ اللَّهِ تَبْعَثُنِي وَأَنَا شَابٌّ أَقْضِي بَيْنَهُمْ وَلاَ أَدْرِي مَا الْقَضَاءُ قَالَ فَضَرَبَ فِي صَدْرِي بِيَدِهِ ثُمَّ قَالَ اللَّهُمَّ اهْدِ قَلْبَهُ وَثَبِّتْ لِسَانَهُ قَالَ فَمَا شَكَكْتُ بَعْدُ فِي قَضَاءٍ بَيْنَ اثْنَيْنِ