From Sahih Bukhari (Hadith 3234):
Narrated Aisha:Whoever claimed that (the Prophet) Muhammad saw his Lord, is committing a great fault, for he only saw Gabriel in his genuine shape in which he was created covering the whole horizon
Reference: Bukhari 3234