Narrated `Amr bin Al-`As:That he heard Allah's Messenger (ﷺ) saying, "If a judge gives a verdict according to the best of his knowledge and his verdict is correct (i.e. agrees with Allah and His Apostle's verdict) he will receive a double reward, and if he gives a verdict according to the best of his knowledge and his verdict is wrong, (i.e. against that of Allah and His Apostle) even then he will get a reward
Opening the collection...
“Read in the name of your Lord who created.” 96:1
“My Lord, increase me in knowledge.” 20:114
“So remember Me; I will remember you.” 2:152
“Indeed, with hardship comes ease.” 94:6