The Cave - 18:26 "Say, "Allah knows better how long they stayed there."To Him belongs all the mysteries of the heavens and the earth. How beautiful is He, the All-Seeing! How excellent is He who Hears! They have no helper except Him. He does not associate anyone with His judgment."
Allah does not associate anyone with His judgment:
The Splitting Asunder/82:19 On that Day no one will help anyone. All decisions on that Day belong to Allah alone.

The Cattle/6:94 You have come to Us as one, just as We first created you. You have left behind what we made you imagine. We do not see your intercessors with you, whom you claim to be partners (with God in the decision to be made about you). The ties between you have been severed. Those whom you used to put forward have forsaken you.