Could something do everything you do when you are in pain, and feel nothing at all?
Imagine you touch a hot pan. Before you have formed a single thought, nerves in your fingertip fire, a signal races to your spinal cord, and your hand jerks back. Then comes the part you would describe to a friend: the sharp, stinging hurt.
Now imagine a robot arm in a factory with a heat sensor on its tip. It touches the same pan, a circuit fires, and the arm pulls back just as fast. Same input, same speed, same sensible response.
Both of you performed the same function. Only one of you said "Ow!" and meant it. So what exactly is that hurt, and where does it fit in a world of signals and circuits?
Two questions about one burnt finger
There are two very different questions you can ask about what happened at that pan.
The first is about function: what does the system do? Which nerves carried the signal, which brain regions became active, how was the movement triggered, how was the memory stored so you will be more careful next time? These questions are hard, but science knows how to answer them: you can measure, trace and test.
The second is a question about experience: why is any of this felt? Why is there "something it is like" to be you touching that pan, a stinging quality that only you have from the inside? The same applies to the redness of a red apple, the taste of coffee, or the ache of missing someone. A complete wiring diagram could, in principle, explain how you react to red. It is far less clear that it would explain why red looks like that.
Philosophers call the first set, only half joking, the "easy problems" of consciousness, and the second the "hard problem". The name has stuck because the second question does not shrink as the first is answered. Every new detail about the wiring is another detail about function; the felt quality is still standing at the end, waiting.

What the brain tells us, and what it doesn't
None of this belittles neuroscience. Its findings are real and striking. Anaesthetics switch experience off. Damage to particular regions can change vision, memory, language or personality. Stimulating parts of the brain during surgery can produce sensations, and brain scans can show patterns that reliably go with seeing a face or feeling fear. Experience and the brain are tied together very tightly in this life.
But notice what these findings establish: that brain states and experiences go together. They do not, by themselves, show that the two are the same thing. "Always together" and "identical" are different claims. A spoken sentence always comes with vibrations in the air; take away the air and the sentence is gone. Yet you could record every vibration perfectly and still not have captured what the sentence means.
Imagine a scientist who knows every physical fact about colour vision: wavelengths, the cells in the eye, every pathway in the brain. But she has lived her whole life in a room with only black, white and grey. One day she walks outside and sees a ripe red apple for the first time. Does she learn something new?
Most people answer yes: she now knows what red looks like. If so, then knowing every physical fact was not knowing everything. Not all philosophers accept that conclusion, and the debate is open. But the thought experiment shows why the question is not settled by more scanning. Science studies what can be measured from the outside; the felt side of experience is, by its nature, seen only from the inside13.

Doing, understanding, feeling: where AI stands
This distinction becomes sharper when we turn to machines. Today's systems write fluent paragraphs, translate, solve problems, compose music and beat the best human players at complex games. This is remarkable engineering, and calling it "just a calculator" undersells it.
But look at what these achievements are. Each one is a function: a task done, an output produced. How such a system builds its answers, and how far to trust them, has its own stop on this journey. The question here is different: when a machine does something intelligent, is anyone home?
Imagine you are locked in a room with a huge rulebook. Cards covered in symbols from a language you have never studied are pushed under the door. You look up each pattern in the book, copy out the symbols it tells you to, and push your card back. Outside, native speakers read your replies and find them perfectly sensible. They are convinced the room understands their language. You understand none of it.
People still argue about what that picture proves, but it separates three things we easily blur together:
- Doing: producing the right output. Machines clearly do this, often better than we do.
- Understanding: grasping what the symbols mean. Whether machines do this, and in what sense, is debated.
- Feeling: having experience, something it is like to be the system. Here we simply do not know, and there is no agreed test.
Why no test? Because every test we could run checks behaviour, and behaviour is function. A system trained on vast amounts of human writing will produce sentences about joy, fear and pain, because humans write them constantly. So its saying "I feel" tells us about the text it learned from, not clearly about any inner life. Serious researchers disagree: some think machine experience is possible in principle, others that nothing like it is happening now. Honesty means admitting no one can currently settle it.

What a purely material world struggles to explain
Materialism is the view that reality is matter and energy following physical laws, and nothing more. Its appeal is obvious: it is simple, and science has explained so much in physical terms. But consciousness is exactly where it strains.
First, there is experience itself. In the materialist picture, the universe for most of its history contained only particles and fields, with no viewpoint anywhere. Then, at some arrangement of matter, there was suddenly someone for whom things are painful, bright or beautiful. The hard problem is not a small gap at the edge of the map. It is a question about why the map contains any inner life at all.
Second, there is choice. You weigh reasons, decide, and hold people responsible. If every thought were only the next state of a chain of particles, your "decision" would be an output fixed by earlier states, and praise and blame would be strange words for what particles did. Almost no one manages to live as if that were true.
Third, there is reasoning toward truth. You accept a conclusion because the premises support it. If thoughts were only chemical events caused by earlier chemical events, truth would play no part in why you hold a belief. That question has its own stop on this journey; for now, notice that materialism must borrow the trustworthiness of reason to argue for a picture in which reason is hard to trust.
Add one more fact. Consciousness is the one thing you know directly. You know about atoms and neurons through observation and inference, all of which happen in consciousness. Your experience is not a theory you arrived at; it is the place where every theory arrives. A worldview that treats the thing you know best as the hardest thing to fit has things the wrong way round.
If the source of all things is blind matter, minds are an anomaly somehow squeezed out of mindlessness. If the source is a living, knowing Creator, a world containing beings who know, feel and choose is exactly what you would expect. That is not a proof by itself, but it is worth sitting with: which picture makes your own mind at home in the world?
The spirit, the heart and the trust
On the deepest part of this question, the Qur'an speaks with striking modesty. In meaning: They ask you about the spirit. Say: the spirit is from my Lord's command, and you have been given only a little knowledge3. Ibn Kathir explains that God kept the knowledge of its reality to Himself10, and Muslim scholars count the true nature of the spirit among the things known only through revelation12. In a field where the honest scientific answer is "we do not know", that humility is not embarrassing. It is accurate.
Yet the Qur'an does not leave the human being a puzzle. It describes how God fashioned the human form, then proportioned him and breathed into him of His spirit, and gave you hearing, sight and hearts5. Scholars explain that "His spirit" means a spirit He created and attributed to Himself in honour, as Muslims speak of "the House of God". The Qur'an presents body and spirit together: the body matters, yet a human being is more than the body alone.
The first human, Adam, peace be upon him, was honoured with knowledge: He taught Adam the names, all of them1. And all his children share in that honour: We have honoured the children of Adam2. Knowing and understanding are presented not as accidents of chemistry but as gifts.
With knowledge comes responsibility. The Qur'an describes a trust offered to the heavens, the earth and the mountains; they declined to bear it, and the human being bore it6. Mountains are vast, but they do not choose. Only a conscious being who weighs, intends and answers for what he does can carry a moral trust. Your inner life is not a by-product here; it is the very thing that makes you addressable by God.
And the Qur'an places true perception within, not in the eyes alone: it is not the eyes that go blind, but the hearts within the breasts4. The Prophet ﷺ said that in the body there is a morsel of flesh which, if sound, makes the whole body sound, "and it is the heart"9. Muslim scholars also spoke of inner senses: we know love, distress and relief by experiencing them, just as we know colours by seeing them12. Islam takes the inside of a person seriously, because that is where you meet both the world and your Lord.
Tools serve people; people serve God
This gives Islam a clear, calm order for technology. Tools are made to serve human beings; human beings are made to serve God. Muslim writers on artificial intelligence have raised warnings about what happens when technology slips out of its place in human life15,16.
The order can be reversed in two ways. One is treating machines like persons: handing them our conscience, companionship or final decisions, as if fluent speech meant someone was there. The other, quieter danger is treating persons like machines. Some popular accounts describe humans as nothing but machines built by genes14. Once people are measured only by output, those who produce less, the very old, the disabled, the grieving, start to look like faulty devices.
Islam blocks both. A tool can be excellent, and Muslims may use it gratefully and build better ones. But responsibility never transfers to it, and human worth was never based on output. The real risk of this age may be less that machines become human than that humans let themselves become machine-like.

"Consciousness is just what complex information processing feels like from the inside. AI will prove it."
At full strength: "There is no mystery. Brains process information; when processing reaches enough complexity, it feels like something from the inside. That is all consciousness is. As machines get more complex, they will start to report experiences, and then even you will have to admit the soul was never needed."
There is something right here: experience in this life clearly depends on the brain, and the objection follows that evidence honestly. But consider four points.
First, the phrase "feels like something from the inside" is not an explanation; it is the thing that needed explaining. To say processing "feels like" something is to grant that there is feeling, and then say nothing about why. Renaming the hard problem does not solve it.
Second, the prediction cannot deliver what it promises. Suppose a future machine says, convincingly, "I am in pain." As we saw, a system built from human language will say such things whether or not anything is felt. Its report proves performance, not experience. The objection hopes AI will settle the question; in fact AI makes clear how hard it is to settle from the outside.
Third, even if we discovered that experience always appears with a certain kind of processing, we would have found another correlation, a law of the form "when this, then that". We would still not know why matter arranged that way should be felt at all. A law describes a pattern; it does not explain why the pattern exists.
Fourth, Islam's case for the spirit was never "we have a gap, so put a soul in it". It rests on revelation, and on what you already know directly: that you experience, choose and reason. Islam does not need to win a bet about future machines. Whatever humans build, they arrange materials God created; giving life and spirit belongs to Him alone. And if our knowledge of our own consciousness stays this limited, that is just what the verse said: you have been given only a little knowledge3.
Your experience is not a theory you arrived at; it is the place where every theory arrives.
Questions you may have
Does Islam say a machine could never be conscious?
The Qur'an and Sunnah do not discuss machines. Islam affirms that the spirit is from God's command and that human knowledge of it is limited3, so a Muslim need not make confident predictions either way. What can be said honestly is that building a system that performs more and more functions is not the same as giving life, and no one today knows how to make, or even test for, experience.
Isn't "the soul" just a placeholder for what neuroscience hasn't explained yet?
That would be a weak argument, and this page does not make it. The point is not "science hasn't finished, so God did it", the "God of the gaps" mistake discussed elsewhere on this journey. It is that experience is a different kind of fact from function, so more facts about function do not reach it. And Muslims' belief in the spirit comes from revelation, not from a hole in the data.
If brain injury can change my personality, doesn't that prove I am only my brain?
It proves that in this life your mind depends on your brain, which Islam has no reason to deny. But dependence is not identity. A skilled pianist on a damaged piano will play badly; that tells you the piano matters, not that the pianist is made of piano keys. The evidence fits both pictures, so it cannot decide between them on its own.
Think of a moment that moved you deeply: a piece of news, a view, the face of someone you love. Could any description of the brain activity in that moment have captured what it was like for you?
Show a thought
If your answer is no, you have touched the hard problem from the inside. That moment was not only a process; it was lived by someone. The Qur'an invites you to start your search exactly there: And in yourselves. Will you not see?8
We began with a hand pulling away from a hot pan, and a robot arm doing the same. The two movements can be measured to the millisecond. The hurt cannot, yet it is the one thing in that kitchen you were never in doubt about.
Islam does not ask you to ignore the brain or fear the machine. It asks you to notice that you are more than what you do: a knowing, feeling, choosing self, honoured with a trust and addressed by your Creator. The signs He has placed in the horizons are many, but the nearest of them is the one reading this sentence7,11.
Your next step
Sources (16)
- Qur'an 2:31 (al-Baqarah)
- Qur'an 17:70 (al-Isra')
- Qur'an 17:85 (al-Isra')
- Qur'an 22:46 (al-Hajj)
- Qur'an 32:9 (al-Sajdah)
- Qur'an 33:72 (al-Ahzab)
- Qur'an 41:53 (Fussilat)
- Qur'an 51:21 (al-Dhariyat)
- Sahih al-Bukhari 52 (also Sahih Muslim 1599)
- Ibn Kathir, Tafsir al-Qur'an al-'Azim, commentary on al-Isra' 17:85
- Ibn al-Qayyim, Miftah Dar al-Sa'adah (reflection on the signs in the human being)
- Centre course material: Sources of knowledge (inner senses; the reality of the spirit as part of the unseen known through revelation)
- Centre course material: Empirical science, revelation and their relationship (scope of science: function, not purpose or consciousness)
- Centre course material: Biology, evolution and human significance (the materialist view of the human being)
- Sapience Institute, Between Code and Conscience: Islam's Warning Lights in an AI World
- Sapience Institute, Does Artificial Intelligence Undermine Religion?