Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When a judge exercises his judgment, striving to reach the correct ruling, and he gets it right, he receives two rewards. When he exercises his judgment and errs, he still receives one reward."

Nasai 5383

Sahih

أخبرنا إسحق بن منصور قال حدثنا عبد الرزاق قال أنبأنا معمر عن سفيان عن يحيى بن سعيد عن أبي بكر محمد بن عمرو بن حزم عن أبي سلمة

عن أبي هريرة قال

قال رسول الله ﷺ إذا حكم الحاكم فاجتهد فأصاب فله أجران وإذا اجتهد فأخطأ فله أجر

النسائي 5383صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Etiquette of judges
Chapter
Correctness in judgment
Numbering
Darussalam 5383
Nasai 5383