Ghafir 40:78
وَلَقَدْ أَرْسَلْنَا رُسُلًا مِّن قَبْلِكَ مِنْهُم مَّن قَصَصْنَا عَلَيْكَ وَمِنْهُم مَّن لَّمْ نَقْصُصْ عَلَيْكَ ۗ وَمَا كَانَ لِرَسُولٍ أَن يَأْتِىَ بِـَٔايَةٍ إِلَّا بِإِذْنِ ٱللَّهِ ۚ فَإِذَا جَآءَ أَمْرُ ٱللَّهِ قُضِىَ بِٱلْحَقِّ وَخَسِرَ هُنَالِكَ ٱلْمُبْطِلُونَ
Walaqad arsalna rusulan min qablikaminhum man qasasna AAalayka waminhum man lamnaqsus AAalayka wama kana lirasoolinan ya/tiya bi-ayatin illa bi-ithni Allahifa-itha jaa amru Allahi qudiya bilhaqqiwakhasira hunalika almubtiloon
And We have already sent messengers before you. Among them are those [whose stories] We have related to you, and among them are those [whose stories] We have not related to you. And it was not for any messenger to bring a sign [or verse] except by permission of Allāh. So when the command of Allāh comes, it will be concluded [i.e., judged] in truth, and the falsifiers will thereupon lose [all].
We had sent messengers before you. Among them there are those whose history We have narrated to you, and of them there are those whose history We did not narrate to you. And it is not up to a messenger that he could come up with a sign without permission from Allah. So, when the command of Allah will come, matters will stand decided justly, and on that occasion all adherents of falsehood will turn into losers.