“And those they used to invoke before will vanish from them.”
Wherever the polytheists’ supplication to their idols and gods is mentioned, what is meant is supplication as worship, which includes supplication as petition. Its meaning as worship is more apparent for three reasons:
First, they said:
“We worship them only so that they may bring us nearer to Allah.” [39:3]
They thus acknowledged that their supplication to them was their worship of them.
Second, Allah, exalted is He, explained this supplication elsewhere as worship, as in His statement:
“And it will be said to them, ‘Where are those you used to worship besides Allah? Can they help you, or even help themselves?’” [26:92–93]
And His statement:
“Indeed, you and what you worship besides Allah are fuel for Hell.” [21:98]
And His statement:
“Say, ‘O disbelievers, I do not worship what you worship.’”
This occurs frequently in the Quran. Such was their supplication to their gods and their worship of them.
Third, they worshipped them only to draw nearer to Allah through them. When needs, distress, and hardships befell them, they called upon Allah alone and abandoned those gods. Nevertheless, they would ask them to fulfil some of their needs and make requests of them. Their supplication to them was therefore both supplication as worship and supplication as petition.
His statement, exalted is He:
“So call upon Allah, making your religion sincerely His alone.” [40:14]
refers to supplication as worship. It means: worship Him alone and devote your worship sincerely to Him; do not worship anyone else alongside Him.
As for the statement of Abraham, Allah’s close friend, peace be upon him:
“Indeed, my Lord hears supplication.” [14:39]
Hearing here means hearing in its particular sense: hearing that entails answering and acceptance, not hearing in its general sense, for He hears everything that can be heard.
Accordingly, supplication here includes both supplication as praise and supplication as petition. The Lord’s hearing it—glorified and exalted is He—means His rewarding the praise and answering the petition. He hears both.
As for the statement of Zechariah, peace be upon him:
“I have never been disappointed in calling upon You, my Lord.” [19:4]