Aristotle was guided by that which appears to be the nature of things. The Ashariyah refused to ascribe to God ignorance about anything... they preferred to admit the above-mentioned absurdities. The Mu'tazilites refused to assume that God does what is wrong and unjust; on the other hand, they would not contradict common sense and say that it was not wrong to inflict pain on the guiltless, or that the mission of the Prophets and the giving of the Law had no intelligible reason. They likewise preferred to admit the above-named absurdities. But they even contradicted themselves, because they believe on the one hand that God knows everything, and on the other that man has free will. By a little consideration we discover the contradiction.
Ch.17 - Guide for the Perplexed (c. 1190) - Part III