This is further clarified by what Allah relates about His intimate friend:
“When he saw a star, he said, ‘This is my Lord.’ But when it set, he said, ‘I do not love those that set.’ * Then when he saw the moon rising, he said, ‘This is my Lord.’ But when it set, he said, ‘Unless my Lord guides me, I will surely be among those who go astray.’ * Then when he saw the sun rising, he said, ‘This is my Lord; this is greater.’ But when it set, he said, ‘O my people, I am free of whatever you associate with Allah. * Indeed, I have turned my face toward Him who created the heavens and the earth.’” [al-An‘ām: 76-79]
It is well known that the moon and the sun were moving as they rose—something these people call change. Had he been arguing on the basis of movement, which they call change, he would have said this as soon as he saw the celestial body rising.
By saying, “This is my Lord,” Allah’s intimate friend did not mean the Lord of all worlds, nor did he mean that this was the eternal, beginningless Being whose existence is necessary, while everything besides Him has come into being, is contingent, and is created by Him. Nor did his people hold this belief such that he would need to demonstrate its falsity to them. Indeed, no one whose views are known has held such a belief. Rather, his people were polytheists who worshipped the stars and idols while acknowledging the Creator.
This is why Allah’s intimate friend said:
“Have you considered what you have been worshipping, * you and your forefathers? * They are enemies to me, except the Lord of all worlds.” [al-Shu‘arā’: 75-77]
And he said:
“Indeed, I am free of what you worship, * except Him who created me, for He will surely guide me. * And he made it a lasting word among his descendants, so that they might return.” [al-Zukhruf: 26-28]
He thus addressed their practice of taking the stars, the sun, and the moon as a lord whom they worshipped and sought to draw near to, as is customary among star worshippers and those who seek to harness the spirits of the stars. This is a well-known doctrine that has continued