On the night before the Battle of Badr, Imam Ali (AS) saw al-Khidr (AS) in a dream. Al-Khidr taught the Greatest Name to the Commander of the Faithful, Imam Ali (AS). (Tawhid al-Saduq)
How could a prophet teach an Imam about divine oneness? Is an Imam’s knowledge completed only after he becomes Imam? Does this mean the hadith “I am the city of knowledge, and Ali is its gate” was spoken after the passing of the Prophet of Islam (PBUH)?
How Could al-Khidr Teach Imam Ali (AS) About Divine Oneness?
The essence and first answer at a glance (60-word summary)
Al-Khidr’s knowledge comes from Umm al-Kitab, which is Imam Ali’s (AS) very soul and being. Al-Khidr drew the Greatest Name from that same source and presented it to the Master, just as someone might offer the gardener a fruit from his own garden. An Imam’s knowledge is not completed only after he becomes Imam, and the hadith “I am the city of knowledge, and Ali is its gate” does not refer to a time after the Prophet’s (PBUH) passing.
Answer by Master Ali Saei (Abdullah Meshkat)
Teacher and researcher in the intellectual tradition of wisdom and the Ahl al-Bayt | Soroush Bamdadān Cultural CenterThe question that arises is this: Mawla was Khidr’s lord, but did Khidr know of Ali’s exalted rank عليه السلام?
The knowledge Khidr possesses comes from ام الکتاب, and ام الکتاب is Mawla’s very self and soul. From that same source, he receives اسم اعظم and presents it to Mawla! It is like someone who, without knowing the gardener, picks fruit from that gardener’s garden and offers it to the gardener himself!
أنا باب الیقین، أنا أمیر المؤمنین، أنا صاحب الخضر،...
أنا صاحب الخضر و هارون، أنا صاحب موسى و یوشع بن نون، ...
مشارق أنوار الیقین فی أسرار أمیر المؤمنین علیه السلام، ص: 261