Someone said, "Muhammad saw his Lord."I said, "Does Allah not say, 'No vision can grasp Him, but His grasp is over all vision' [Anam 6:103]?"He replied, "Woe to you, that applies when He manifests Himself with His light which is His light. He was shown to him twice."
حدثنا محمد بن عمرو بن نبهان بن صفوان البصري الثقفي حدثنا يحيى بن كثير العنبري أبو غسان حدثنا سلم بن جعفر عن الحكم بن أبان عن عكرمة
رأى محمد ربه قلت أليس الله يقول {لا تدركه الأبصار وهو يدرك الأبصار} قال ويحك ذاك إذا تجلى بنوره الذي هو نوره وقال أريه مرتين
[Hasan]. Nasai narrated it in Kubra, no. 11537, from the hadith of Hakam bin Abban, in brief, and see the following hadith, no. 3281.