Sahih al-Bukhari · The Book of Al-Ahkam (Judgements)
35- بَابُ إِذَا قَضَى الْحَاكِمُ بِجَوْرٍ أَوْ خِلاَفِ أَهْلِ الْعِلْمِ فَهْوَ رَدٌّ:
(35) Chapter. If a judge passes an unjust judgement or a judgement which differs from that of the learned religious men, such a judgement is to be rejected.
1 hadith · references 7189–7189
Sequential reading