Amr ibn al-‘As reported: The Messenger of Allah, peace and blessings be upon him, said, “If a judge makes a ruling, striving to apply his reasoning and he is correct, he will have two rewards. If a judge makes a ruling, striving to apply his reasoning and he is mistaken, he will have one reward.”
Source: Ṣaḥīḥ al-Bukhārī 7352, Ṣaḥīḥ Muslim 1716
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ عَمْرِو بْنِ الْعَاصِ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا حَكَمَ الْحَاكِمُ فَاجْتَهَدَ ثُمَّ أَصَابَ فَلَهُ أَجْرَانِ وَإِذَا حَكَمَ فَاجْتَهَدَ ثُمَّ أَخْطَأَ فَلَهُ أَجْرٌ
7352 صحيح البخاري كتاب الاعتصام بالكتاب والسنة باب أجر الحاكم إذا اجتهد فأصاب أو أخطأ
1716 صحيح مسلم كتاب الأقضية باب بيان أجر الحاكم إذا اجتهد فأصاب أو أخطأ