Abdullah bin Masud reported,

A time came upon us when we were not in a position to give judgments, nor were we suited for that role. But Allah عز وجل decreed that we have reached the position you now see. So whoever is presented with a case to judge from this day forward, let him judge by what is in the Book of Allah. If a matter comes that is not in the Book of Allah, let him judge by what His Prophet judged. If a matter comes that is neither in the Book of Allah nor judged upon by His Prophet ﷺ, let him judge by what the righteous have judged. And let none of you say, "I am afraid, I am afraid." For the lawful is clear and the unlawful is clear, and between them are doubtful matters. So leave what makes you doubt for what does not make you doubt.

Nasai 5400

Hasan

أخبرني محمد بن علي بن ميمون قال حدثنا الفريابي قال حدثنا سفيان عن الأعمش عن عمارة بن عمير عن حريث بن ظهير

عن عبد الله بن مسعود قال

أتى علينا حين ولسنا نقضي ولسنا هنالك وإن الله عز وجل قدر أن بلغنا ما ترون فمن عرض له قضاء بعد اليوم فليقض فيه بما في كتاب الله فإن جاء أمر ليس في كتاب الله فليقض بما قضى به نبيه فإن جاء أمر ليس في كتاب الله ولم يقض به نبيه ﷺ فليقض بما قضى به الصالحون ولا يقول أحدكم إني أخاف وإني أخاف فإن الحلال بين والحرام بين وبين ذلك أمور مشتبهة فدع ما يريبك إلى ما لا يريبك

النسائي 5400حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Etiquette of judges
Chapter
Ruling by the consensus of the people of knowledge
Numbering
Darussalam 5400
Nasai 5400