I am a student of computer science. I work in machine learning and computer vision. I spend my days building systems that learn from data, extract patterns from images, and make predictions about the world. I have spent more than twenty years studying science in one form or another.
I am also a Muslim who believes the Quran is the word of God.
These two facts do not create tension in my life. Not because I have compartmentalized them — kept science in one drawer and faith in another — but because I have come to understand that they are not competing answers to the same question. They are answers to entirely different questions.
The conflict between science and religion, where it exists, is almost always a conflict between bad science and bad theology. When you correct both, the conflict dissolves.
Two Different Questions
Science asks: how does the physical world work?
Religion asks: why are we here, and how should we live?
These are not the same question. They do not share the same domain, the same method, or the same kind of answer. Confusing them is the source of almost every supposed conflict between the two.
The Quran is not a book of science. It does not set out to explain the mechanics of the physical world — the laws of thermodynamics, the structure of DNA, the behaviour of subatomic particles. It is a guide for the moral and spiritual life of a being who already lives in the physical world that science describes.
When religion tries to dictate physical facts, it overreaches. When science tries to answer questions of meaning, purpose, and moral accountability, it overreaches. Both failures produce the same result: a false conflict between things that were never actually in competition.
The Ultrasound Example
A common objection runs like this: the Quran says only God knows what is in the womb, but modern ultrasound technology can determine the sex of a child before birth. Has science not defeated the Quranic claim?
The Arabic word used in the relevant verse is Ma — meaning what, in its fullest sense. Not which sex. Not what biological form. But what, in totality, is this being.
An ultrasound can tell you the sex of a child. It cannot tell you whether that child will become a poet or a tyrant, a healer or a destroyer, someone who will spend their life in quiet service or someone whose choices will cause suffering across generations. The what the Quran refers to is the entirety of the personality — the moral trajectory, the choices that have not yet been made, the soul that has not yet expressed itself in the world.
Science sees the body. God knows the destiny. These are not competing claims. They are claims about different things.
Evolution and the Two-Tier Creation
The question of biological evolution is where the perceived conflict between science and Islam is most acute. And I want to engage with it honestly rather than sidestep it.
The Quranic text distinguishes between two distinct stages of human origin.
The first stage is Taswiya — the proportioning or refinement of the biological form. The Quran's references to clay and earth as the substance of human creation are entirely compatible with the idea of a long biological process. The physical body of the human being — the animal form — may well have developed over vast stretches of time through the processes that biology describes.
The second stage is categorically different. It is the Nafkh-i-Ruh — the divine infusion of the spirit. This is not a continuation of the biological process. It is a discrete, categorical event. The moment when the biological form, having reached its peak development, received something that biology cannot account for — intellect, language, self-awareness, moral agency, the capacity to ask why am I here.
This is what the Quran calls Khalqan Akhar — a new creation. Not a more developed animal. Something categorically different from everything that preceded it.
The fossil record can trace the development of the biological form. It cannot trace the arrival of the soul. These are not competing accounts. They are accounts of different aspects of the same event — one accessible to science, one not.
The Limits of Empirical Knowledge
There is a philosophical assumption embedded in the science versus religion debate that deserves examination: the idea that empirical observation and experiment are the only valid sources of knowledge.
This assumption — sometimes called scientism, as distinct from science itself — is not a scientific conclusion. It is a philosophical one. And it is one that science itself has complicated significantly.
We now know that our senses are systematically unreliable in ways our ancestors could not have imagined. Light bends. Time dilates. Matter is mostly empty space. The solid table in front of me is, at the level of physics, almost entirely nothing. The intuitions we rely on in ordinary life break down at the extremes of scale and velocity.
If our senses are this unreliable about the physical world they were designed to navigate, on what basis do we claim they are the final arbiters of everything that exists?
Knowledge has multiple valid sources: empirical observation, historical testimony, moral intuition, and revelation delivered through Prophets whose credentials can be examined rationally. None of these is infallible in isolation. Together they give a more complete picture of reality than any one of them can provide alone.
What AI Adds to This Conversation
I work in artificial intelligence. The standard materialist account of the human mind runs roughly like this: the brain is a very sophisticated information processing system. Consciousness, thought, and moral intuition are what complex neural computation feels like from the inside.
I have spent years building complex computational systems. The systems I work with are genuinely remarkable — they can recognise faces, generate images, translate languages, and hold conversations. They are built from mathematics and data and they improve continuously.
They have no interiority. There is no experience of what it is like to be them. They process without feeling. They output without caring. They optimise without choosing.
The gap between the most capable AI system ever built and a human child asking why does anything exist is not a gap that more parameters and more data will close. It is not a quantitative difference. It is a qualitative one.
I do not think that gap arrived by accident.
What the Conflict Is Actually About
When I look carefully at the history of the science versus religion conflict, what I find is not a conflict between scientific discovery and religious truth. What I find is a series of conflicts between specific scientific discoveries and specific institutional religious authorities who had overextended their claims into the empirical domain.
The Catholic Church did not resist heliocentrism because the Bible clearly teaches geocentrism. It resisted because the institution had staked its authority on a particular reading that turned out to be wrong. That is a failure of institutional overreach, not a failure of religion as such.
Similarly, when Muslim scholars resist the theory of evolution, they are often resisting not the Quranic text but a cultural tradition that accumulated around it — one that made specific empirical claims the Quran itself never made.
Correct the overreach. Return to what the text actually says. The conflict mostly disappears.
In Summary
Science describes the physical world with extraordinary precision and power. Religion addresses the purpose of the being who lives in that world. These are complementary, not competing.
The Quran does not ask you to disbelieve in gravity or reject the germ theory of disease. It asks you to consider who you are, why you are here, and what you owe to the One who put you here.
Those are different questions. They deserve different methods. And both deserve to be taken seriously.
Discussion