He heard the Messenger of Allah ﷺ say, "When a judge issues a ruling, exercising his judgment and reaches the correct decision, he receives two rewards. When he issues a ruling, exercising his judgment and errs, he still receives one reward."He said, I related this hadith to Abu Bakr bin Amr bin Hazm, who said, "This is exactly how Abu Salama bin Abdul-Rahman narrated it to me from Abu Hurairah."Abdul-Aziz bin Muttalib also narrated it from Abdullah bin Abu Bakr, from Abu Salama, from the Prophet ﷺ, with the same wording.
حدثنا عبد الله بن يزيد المقرئ المكي حدثنا حيوة بن شريح حدثني يزيد بن عبد الله بن الهاد عن محمد بن إبراهيم بن الحارث عن بسر بن سعيد عن أبي قيس مولى عمرو بن العاص
أنه سمع رسول الله ﷺ يقول إذا حكم الحاكم فاجتهد ثم أصاب فله أجران وإذا حكم فاجتهد ثم أخطأ فله أجر قال فحدثت بهذا الحديث أبا بكر بن عمرو بن حزم فقال هكذا حدثني أبو سلمة بن عبد الرحمن عن أبي هريرة وقال عبد العزيز بن المطلب عن عبد الله بن أبي بكر عن أبي سلمة عن النبي ﷺ مثله