Allah, the Mighty and Majestic, said: "Then if you disagree over anything, refer it to Allah and the Messenger" [al-Nisa': 59]. Imam al-Shafi'i (may Allah have mercy on him) said: "If you disagree" means, and Allah knows best, they and their rulers whom they are to obey; "refer it to Allah and the Messenger" means, and Allah knows best, to what Allah and the Messenger said. And Allah Almighty said: "Does man think that he will be left neglected (suda)?" [al-Qiyamah: 36]. Al-Shafi'i said: As far as I know, the scholars of the Qur'an did not differ that 'suda' is one who is neither commanded nor forbidden; and whoever gives a fatwa or a judgement by something he has not been commanded has permitted himself to fall within the meaning of 'suda'. Al-Bayhaqi said: We have narrated from Mujahid, in the explanation of the two verses, the same as what al-Shafi'i said.
It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that he said: "Indeed (correct) judging is not merely a calculation that a person works out; rather, it is an inner state (and divine insight) that comes over the heart."
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب القضاء وما على القاضي في الخصوم والشهود / 4892
Hadith Gradingمحدثین:سكت عنه البوصيري، موقوف؛ إسناده حسن
Hadith Takhrij«محمد بن عمرو بن علقمة: صدوق له أوهام (من الحفظ)؛ ومسدد وحماد بن زيد وأبو سلمة ثقات؛ وهو من قول أبي هريرة.»