Socrates’ reliance on what the Greeks called his “daemonic sign”, an averting (ἀποτρεπτικός) inner voice that Socrates heard only when he was about to make a mistake. It was this sign that prevented Socrates from entering into politics.
In the Phaedrus, we are told Socrates considered this to be a form of “divine madness”, the sort of insanity that is a gift from the gods and gives us poetry, mysticism, love, and even philosophy itself. Alternately, the sign is often taken to be what we would call “intuition”; however, Socrates’ characterization of the phenomenon as “daemonic” suggests that its origin is divine, mysterious, and independent of his own thoughts.
An Islamic Scholar, Mirza Tahir Ahmad, argues that Socrates experienced what can be called a prophetic revelation. He writes in his book, Revelation, Rationality, Knowledge & Truth, that “Socrates seems to have a very personalized and intense relationship with the Supreme Being. His very personality is built on the pattern of the messengers of God.