It is narrated from Sayyiduna Ali (may Allah be pleased with him) that he said: "The Messenger of Allah (peace and blessings be upon him) sent me to Yemen (as a judge), so I said: 'O Messenger of Allah, you are sending me to a people who are aged and elderly, and I fear that I may not reach what is correct (in judgement)?' He (peace and blessings be upon him) said: 'Indeed, Allah, the Mighty and Majestic, will make your tongue firm and will guide your heart.'"
The wording (of both chains) is the same.
From Amr bin Hubshi (may Allah have mercy on him), Abu Ishaq and Abdullah bin al-Miqdam bin al-Ward (may Allah have mercy on them both) narrated.