Allah God has no Beginning
بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيم
It is obligatory to believe Allâh is Eternal, there is no beginning to His Existence. His attributes are also eternal. Nothing is eternal except Allâh and His attributes.
Allâh said:
﴿ هُوَ الأَوَّلُ وَالآخِرُ ﴾
(huwa l-‘awwalu wa l-‘âkhir)
which means: « Allâh has non beginning nor end. » [Sûrat Al Hadîd, ‘ayah 3]
The Prophet Muḥammad, Sallallahu `alayhi wa sallam, said:
« كَانَ اللهُ وَلَمْ يَكُنْ شَىءٌ غَيْرُهُ »
(kâna l-Lâhu wa lam yakun chay’un ghayruh)
Which means: « Allâh existed eternally and nothing else existed with Him. » [Related by al-Bukhâriyy and al-Bayhaqiyy]
This Hadîth proves that only Allâh existed without a beginning, i.e., before creating any of the creation. There was nothing with Allâh: no place, no space, no sky, no Earth, no light, and no darkness. It is determined in the rules of the Religion and the judgments of the sound mind that Allâh, the Exalted, does not change. Hence, it is impossible that after having been existing without a place, Allâh will change and dwell in a place, because this is a development. The development is a sign of needing others, and the one who needs others is not god.
https://www.islam.ms/en/?p=19