Al-Anbya 21:25
And We sent not before you any messenger except We revealed to him that, "There is no deity except Me, so worship Me."
Ayah 25
وَمَآ أَرْسَلْنَا مِن قَبْلِكَ مِن رَّسُولٍ إِلَّا نُوحِىٓ إِلَيْهِ أَنَّهُۥ لَآ إِلَٰهَ إِلَّآ أَنَا۠ فَٱعْبُدُونِ
And We sent not before you any messenger except We revealed to him that, "There is no deity except Me, so worship Me."