You have adjudged according to the command of God. And once he said: you have adjudged by the decision of a king.

Sahih Muslim Book 32, Hadith 78