And Allah said "Do not worship two gods. Indeed, He (Allah) is only One God. Then fear Me Alone.To Him belongs all that is in the heavens and the earth and the religion.
Allah tells us that there is no god but He, and that no one else should be worshipped except Him, alone, without partners, for He is the Sovereign, Creator, and Lord of all things.
...
وَلَهُ الدِّينُ وَاصِبًا
...
His is the religion Wasiba,
Ibn Abbas, Mujahid, Ikrimah, Maymun bin Mahran, As-Suddi, Qatadah and others said that;
this means forever.
It was also reported that Ibn Abbas said,
"It means obligatory."
Mujahid said:
"It means purely for Him,"
i.e., worship is due to Him Alone, from whoever is in the heavens and on earth.
As Allah says:
أَفَغَيْرَ دِينِ اللَّهِ يَبْغُونَ وَلَهُ أَسْلَمَ مَن فِى السَّمَـوَتِ وَالاٌّرْضِ طَوْعًا وَكَرْهًا وَإِلَيْهِ يُرْجَعُونَ
Do they seek other than the religion of Allah, while to Him submitted all creatures in the heavens and the earth, willingly or unwillingly. And to Him shall they all be returned. (3:83)
This is in accordance with the opinion of Ibn Abbas and Ikrimah, which is that this Ayah is merely stating the case.
According to the opinion of Mujahid,
it is by way of instruction, i.e., it is saying: You had better fear associating partners in worship with Me, and be sincere in your obedience to Me.
As Allah says:
أَلاَ لِلَّهِ الدِّينُ الْخَالِصُ
Surely, the pure religion (sincere devotion) is for Allah only. (39:3)
Then Allah tells