[Machine] "Whoever is presented with a case, let them judge according to what is in the book of Allah. If a matter comes to them that is not in the book of Allah, then let them judge according to what the Prophet ﷺ judged. If a matter comes to them that is not in the book of Allah and the Prophet ﷺ did not judge on it, then let them judge according to what the righteous have said. If a matter comes to them that is not in the book of Allah, the Prophet ﷺ did not judge on it, and the righteous did not judge on it, then let them use their own reasoning. If they cannot determine what is right, then let them accept and not be ashamed."
«مَنْ عُرِضَ لَهُ قَضَاءٌ فَلْيَقْضِ بِمَا فِي كِتَابِ اللَّهِ فَإِنْ جَاءَهُ أَمْرٌ لَيْسَ فِي كِتَابِ اللَّهِ ﷻ فَلْيَقْضِ بِمَا قَضَى بِهِ النَّبِيُّ ﷺ فَإِنْ جَاءَهُ أَمْرٌ لَيْسَ فِي كِتَابِ اللَّهِ ﷻ وَلَمْ يَقْضِ بِهِ نَبِيُّهُ ﷺ فَلْيَقْضِ بِمَا قَالَهُ الصَّالِحُونَ فَإِنْ جَاءَهُ أَمْرٌ لَيْسَ فِي كِتَابِ اللَّهِ وَلَمْ يَقْضِ بِهِ نَبِيُّهُ ﷺ وَلَمْ يَقْضِ بِهِ الصَّالِحُونَ فَلْيَجْتَهِدْ رَأْيَهُ فَإِنْ لَمْ يُحْسِنْ فَلْيُقِرَّ وَلَا يَسْتَحِي»