"The Messenger of Allah (ﷺ) said: 'If a judge passes judgment and strives to reach the right conclusion and gets it right, he will have two rewards; if he strives to reach the right conclusion but gets it wrong, he will still have one reward."
Reference: Sunan an-Nasa'i 5381 In-book : Book 49, Hadith 3 English translation : Vol. 6, Book 49, Hadith 5383
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.