The unconscious is the only available source of religious experience. This in certainly not to say that what we call the unconscious is identical with God or is set up in his place. It is simply the medium from which religious experience seems to flow. As to what the further cause of such experience might be, the answer to this lies beyond the range of human knowledge. Knowledge of God is a transcendental problem.
Carl Jung, The Undiscovered Self
وَيَسْأَلُونَكَ عَن الرُّوح قُل الرُّوحُ مِنْ أَمْر رَبِّي وَمَا أُوتِيتُم مِّن الْعِلْم إِلاَّ قَلِيلاً
“And they ask you (O Muhammad ) concerning the Rooh (the Spirit); Say: ‘The Rooh (the Spirit): it is one of the things, the knowledge of which is only with my Lord. And of knowledge, you (mankind) have been given only a little.’ ”