It has been narrated on the authority of Hadrat Anas Ibn Malik (may Allah be pleased with him) that eighty persons from the inhabitants of Makka swooped down upon Allah's Messenger (may Allah's blessings and peace be upon him) from the mountain of Tan'im. They were armed and wanted to attack the Holy Prophet (may Allah's blessings and peace be upon him) and his Companions unawares. He (the Holy Prophet) captured them but spared their lives. So, Allah (The Glorified and the Exalted) revealed the verse:
"And It is He Who restrained your hands from them and their hands from you in the valley of Makkah after He had given you a victory over them." (48:24)
(Sahih Muslim)