At-Tawbah 9:40
إِلَّا تَنصُرُوهُ فَقَدْ نَصَرَهُ ٱللَّهُ إِذْ أَخْرَجَهُ ٱلَّذِينَ كَفَرُوا۟ ثَانِىَ ٱثْنَيْنِ إِذْ هُمَا فِى ٱلْغَارِ إِذْ يَقُولُ لِصَـٰحِبِهِۦ لَا تَحْزَنْ إِنَّ ٱللَّهَ مَعَنَا ۖ فَأَنزَلَ ٱللَّهُ سَكِينَتَهُۥ عَلَيْهِ وَأَيَّدَهُۥ بِجُنُودٍ لَّمْ تَرَوْهَا وَجَعَلَ كَلِمَةَ ٱلَّذِينَ كَفَرُوا۟ ٱلسُّفْلَىٰ ۗ وَكَلِمَةُ ٱللَّهِ هِىَ ٱلْعُلْيَا ۗ وَٱللَّهُ عَزِيزٌ حَكِيمٌ
Illa tansuroohu faqad nasarahuAllahu ith akhrajahu allatheena kafaroo thaniyaithnayni ith huma fee alghari ithyaqoolu lisahibihi la tahzan inna AllahamaAAana faanzala Allahu sakeenatahu AAalayhiwaayyadahu bijunoodin lam tarawha wajaAAala kalimata allatheenakafaroo assufla wakalimatu Allahi hiyaalAAulya wallahu AAazeezun hakeem
If you do not aid him [i.e., the Prophet (ﷺ)] - Allāh has already aided him when those who disbelieved had driven him out [of Makkah] as one of two, when they were in the cave and he [i.e., Muḥammad (ﷺ)] said to his companion, "Do not grieve; indeed Allāh is with us." And Allāh sent down His tranquility upon him and supported him with soldiers [i.e., angels] you did not see and made the word of those who disbelieved the lowest, while the word of Allāh - that is the highest. And Allāh is Exalted in Might and Wise.
If you do not help him, (it makes no difference to the Prophet, because) Allah has already helped him when the disbelievers expelled him, and he was the second of the two, when they were in the cave, and he was saying to his companion, “Do not grieve. Allah is surely with us.”So, Allah caused His tranquility to descend on him,and supported him with troops that you did not see, and rendered the word of the disbelievers humiliated. And the word of Allah is the uppermost. Allah is Mighty, Wise.