The following is the translation of an Arabic Q&A from the website of Sheikh Ata' Abu Rashta . Question: Are all prophets right in their ijtihad or it is only the Mustafa (saw)? The question arises due to the fact that, Ibn Kathir while explaining Surah Al-Anbiya, Ayah No.(78) quoted Abdullah Ibn Masood and Abdullah Ibn Abbas, who said that the Prophet David (PBUH) gave judgment, between the sheepherder and farm owner whose farm was grazed by the sheep of herder, to give the sheep to the farm owner. Subsequently, his son Solomon (PBUH) told him to change this, O Prophet of Allah! Then he explained the judgment on them in this way: the farm owner will take the sheep to make use of its milk while the sheepherder will cultivate the land as it was in the past i.e. before it was grazed by the sheep and Allah said ففهمناها سليمان ( We gave Solomon insight into the case). Does it not mean that the Prophet David (PBUH) used his Ijtihad, which was corrected
"Thoughts are the greatest wealth of any nation."