We were with the Prophet (ﷺ) when he said (to two men), "I shall judge between you according to Allah's Book (Laws)."
Sahih al-Bukhari Book 96, Hadith 11