Many believers endowed with spiritual insight receive from Allah an inward awareness that a certain food is unlawful, or that a certain man is a disbeliever, an evildoer, a man who tolerates sexual immorality in his household, someone who engages in sodomy, a wine seller, a singer, or a liar—without any outward evidence, but through what Allah casts into their hearts. Conversely, He places in a believer’s heart love for someone and an awareness that he is one of Allah’s allies, that a certain man is righteous, that a certain food is lawful, and that a certain statement is true. Such things must not be considered far-fetched in the case of Allah’s believing, God-fearing allies.
The story of al-Khidr and Moses belongs to this category: al-Khidr knew those particular circumstances through what Allah had disclosed to him. This is a vast subject whose detailed treatment would be lengthy. We have drawn attention here to some valuable insights that will lead you to understand what lies beyond them.