According to Ibn `Arabi one of Khidr's sayings to Sahl at-Tustari (q) was:
Allah created the Light of Muhammad from His Light... This Light stayed before Allah for 100,000 years. Allah directed His Gaze upon it 70,000 times every day and night, adding to it a new light from His Light every time. Then, from that Light, He created all creations.