that eighty people swooped down from the mountain of At-Tan'im to kill the Messenger of Allah ﷺ during Salat As-Subh, but he captured them and (later) let them go. So Allah revealed the Ayah: And it is He Who has withheld their hands from you and your hands from them (48:24).
أَنَّ ثَمَانِينَ هَبَطُوا عَلَى رَسُولِ اللَّهِ ﷺ وَأَصْحَابِهِ مِنْ جَبَلِ التَّنْعِيمِ عِنْدَ صَلاَةِ الصُّبْحِ وَهُمْ يُرِيدُونَ أَنْ يَقْتُلُوهُ فَأُخِذُوا أَخْذًا فَأَعْتَقَهُمْ رَسُولُ اللَّهِ ﷺ فَأَنْزَلَ اللَّهُ ( هُوَ الَّذِي كَفَّ أَيْدِيَهُمْ عَنْكُمْ وَأَيْدِيَكُمْ عَنْهُمْ ) الآيَةَ