If Allah created everything, then who created Allah
لَمۡ يَلِدۡ ۙ وَلَمۡ يُوۡلَدۡۙ
He did not beget, nor was He begotten.
(Surah Ikhlas: 03)
This ayah is the answer to the concept of ignorance that Hazrat Isha a.s is Allah’s son and angels are His daughters.
“Has then your Lord (O pagans of Makkah!) preferred for you sons, and taken for Himself from among the angel daughters? Verily you indeed utter an awful saying.”
(Surah Israh:40)
"…. The Messiah, Jesus, son of Mary, was only a Messenger of Allah…… Far be it from His glory that He should have a son…"
(Surah Nisa:171).
However, if we assume that someone else has created Allah Subhan Tallah then that someone else is the real God. Again, we think that who created the real God? And the one who created the real God is the actual God. This chain of thought will continue in the same way without any conclusion. Its mean, Allah Subhan Tallah is not created by anyone but he himself has created everything.
If so, then why this thought comes into our mind that who has created Allah Subhan Tallah.
It is because Allah Subhan Tallah has created all the universe and then created us with limited thought. So, we think that everything has a creator behind it. Whereas Allah Subhan Tallah has invented the art of creation. He is الْمُصَوِّر, which is just an attribute of Allah Subhan Tallah Just like other ones such as:
ٱلْخَـٰلِقُ, ٱلْبَارِئُ, ٱلْعَزِيزُ, ٱلْحَكِيمُ , اَلْعَلِيْمُ
We human beings don’t create anything. As we know that all the matter is the composition of atoms, proton, electron, neutron, etc. we just put together the created things or rearrange them. They are already created by Allah Subhan Tallah.
Newton law is already working in this universe. He has just rediscovered it. The lap top is created by putting together things, which are already recreated by others and others have again rearrange those things of someone else rediscoveries. However, the chain of recreation, rearrangement and rediscoveries is finally linked with the real and flawless creator, Allah Subhan Tallah.
A writer has rightly said:
**“**True science discovers God
Waiting behind every door.”
(Dan Brown).
“He is Allah: the Creator, the Inventor, the Shaper. He ˹alone˺ has the Most Beautiful Names. Whatever is in the heavens and the earth ˹constantly˺ glorifies Him. And He is the Almighty, All-Wise.”
(Surah Hashar: 24).
اَللّٰهُمَّ اِنِّیْ اَعُوْذُبِكَ اَنْ اُشْرِكَ بِكَ وَ اَنَا اَعْلَمُ وَ اَسْتَغْفِرُكَ لِمَا لَا اَعْلَمُ
“Oh Allah, I take refuge in your lest I should commit shirk with you knowingly, and I seek your forgiveness for what I do unknowingly”
(Altabrani: 4/10, Hisn al-Muslim: 203).
Al-Ikhlas
(112) is for you to answer. Allah does not beget and was not begotten.