B. They were influenced by philosophers such as Aristotle and by the teachings of Islam.
During the Middle Ages, Muslim philosophers engaged deeply with the works of ancient Greek philosophers, particularly Aristotle, while also integrating and interpreting these ideas within the context of Islamic teachings and theology.