Most of the Sahaabah were of the view that the Prophet (peace and blessings of Allaah be upon him) did not see Allaah with his eyes on the night of the Miraaj.
It was narrated that ‘Aa’ishah (may Allaah be pleased with her) said: “Whoever told you that Muhammad (peace and blessings of Allaah be upon him) saw his Lord was lying. He said that no vision can grasp him [cf. al-An’aam 6 : 103]…”
(Narrated by al-Bukhaari, al-Tawheed, 6832).
It was narrated that Abu Dharr said: “I asked the Messenger of Allaah (peace and blessings of Allaah be upon him), ‘Did you see your Lord?’ He said, ‘ He is veiled by Light, how could I see Him.’” (Narrated by Muslim, al-Eeman, 261).
It was narrated that Ibn ‘Abbaas said: “ ‘The (Prophet’s) heart belied not what he saw, and indeed he saw Him at a second descent.’ [al-Najm 53:11-12] (This means that) he saw Him twice with his heart.” (Narrated by Muslim, al-Eemaan, 258).
Ibn al-Qayyim said: “ ‘Uthmaan ibn Sa’eed al-Daarimi said in his book al-Ru’yah that there was consensus among the Sahaabah that he [the Prophet (peace and blessings of Allaah be upon him)] did not see his Lord on the night of the Mi’raaj. Some of them excluded Ibn ‘Abbaas and said that he was not one of those who said that. Our Shaykh says that this does not go against the facts, for Ibn ‘Abbaas did not say that he saw Him with the eyes in his head, and Ahmad relied upon this in one of the two reports narrated from him, where he says that he saw Him but he did not say that that was with the eyes in his head. The wording used by Ahmad is the same as that used by Ibn ‘Abbaas (may Allaah be pleased with them both). What indicates that what our Shaykh said about the meaning of the hadeeth of Abu Dharr is correct is the fact that in another hadeeth he said that His veil is Light. And Allaah knows best what the Light is that is mentioned in the hadeeth of Abu Dharr (may Allaah be pleased with him) where it says, ‘I saw Light.’”
Ijtimaa’ al-Juyoosh al-Islamiyyah, vol. 1, p. 12
The prophet Muhammad peace be upon him saw his loved with his heart twice and Aisha peace be upon her denied that he had seen him. Some people are of the view that Aisha peace be upon her denied that he saw Allah with his eyes and that Ibn Abbaas affirmed that he saw Him with his heart. And Allaah says (interpretation of the meaning):
‘Glorified (and Exalted) be He (Allaah) [above all that (evil) they associate with Him]
Who took His slave (Muhammad) for a journey by night from Al-Masjid Al-Haraam (at Makkah) to Al-Masjid Al-Aqsaa (in Jerusalem), the neighborhood whereof We have blessed, in order that We might show him (Muhammad) of Our Ayaat (proofs, evidence, lessons, signs, etc.)’
If Prophet Muhammad(peace be upon him) would have seen Him then he would have mentioned it.
It is proven from the saheeh texts that no one can see Allah with his eyes in this world with an exception that some claim that Prophet Muhammad ( peace be upon him ) alone saw Him.
And Allaah knows best.