Ummul mumineen 'Aae'sha was asked by a taabi'oon named Masrouq, if Prophet Muhammad

had seen his Lord, she replied, "My hair is standing on end because of what you have asked! Whoever tells you that Muhammad saw his Lord has lied!" [Saheeh Muslim, vol. 1, 337 & 339]
Abu Dharr asked the Prophet

if he saw his Lord, the Prophet

replied, "There was only light, how could I see Him." [Saheeh Muslim, vol. 1, 341]
The Prophet

on another occasion explained the significance of the light and that it was not Allah himself, saying, "Verily Allah does not sleep nor is it befitting for Him to sleep. He is the One who lowers the scales and raises them. The deeds of the night go up to Him before the deeds of the day and those of the day before those of the night, and His veil is light." [ reported by Abu Moosa al-Ash'aree and collected by Muslim, vol. 1, 343]