Anas bin Malik reported,

Eighty armed men from the people of Mecca came down upon the Messenger of Allah ﷺ from the mountain of Tanim, intending to catch the Prophet ﷺ and his companions off guard. He captured them peacefully and spared their lives. Then Allah عز وجل revealed, "And it is He who withheld their hands from you and your hands from them within Mecca after He had enabled you to overcome them" [Fath 48:24].

Azami 9005

Sahih

عن أنس بن مالك

أن ثمانين رجلا من أهل مكة هبطوا على رسول الله ﷺ من جبل التنعيم متسلحين يريدون غرة النبي ﷺ وأصحابه، فأخذهم سلما فاستحياهم فأنزل الله عز وجل: {وهو الذي كف أيديهم عنكم وأيديكم عنهم ببطن مكة من بعد أن أظفركم عليهم} [الفتح: ٢٤].

الأعظمي 9005صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Expedition of Hudaybiya and expedition of Dhat al-Qarad
Section
Attempted assassination of the Prophet ﷺ on the day of Hudaybiya
Numbering
Jami al-Kamil 9005 (2nd edition)
Azami 9005