It is said that the Prophet ﷺ said: The earth is illuminated by my face, the heavens are illuminated by my sight, I was taken up into the heights of the heavens, and Allah derived my name from His own name; so the Lord of the Throne is Mahmud, and I am Muhammad.
Research on the Hadith:
أسناده موضوع۔
Imam al-Shawkani says: This is mawdu’ (fabricated), and some storytelling preachers made it up.
Reference: Al-Fawa’id al-Majmu’ah fi al-Ahadith al-Mawdu’ah. Fada’il al-Nabi, hadith no. 997