Anas said “Eighty Meccans came down from the mountain of Al Tan’im against the Prophet ﷺ and his Companions at the (time of the) dawn prayer to kill them. The Apostle of Allaah ﷺ took them captive without fighting and the Apostle of Allaah ﷺ set them free. Thereupon Allaah Most High sent down “He it is Who averted their hands from you and your hands from them in the valley of Makkah,” till the end of the verse. (Using translation from Abū Dāʾūd 2688)
أَنَّ ثَمَانِينَ رَجُلًا مِنْ أَهْلِ مَكَّةَ هَبَطُوا عَلَى رَسُولِ اللهِ ﷺ وَأَصْحَابِهِ مِنْ جَبَلِ التَّنْعِيمِ عِنْدَ صَلَاةِ الْفَجْرِ فَأَخَذَهُمْ رَسُولُ اللهِ ﷺ سِلْمًا فَعَفَا عَنْهُمْ وَنَزَلَ الْقُرْآنُ {وَهُوَ الَّذِي كَفَّ أَيْدِيَهُمْ عَنْكُمْ وَأَيْدِيَكُمْ عَنْهُمْ بِبَطْنِ مَكَّةَ مِنْ بَعْدِ أَنْ أَظْفَرَكُمْعَلَيْهِمْ} [الفتح 24]