Sahih al-Bukhari, Book 96, Hadith 11 (Bukhari 7003)

Narrated Abu Huraira and Zaid bin Khalid:

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