Anas bin Malik reported,

Eighty armed men from among the people of Mecca descended upon the Messenger of Allah ﷺ from Mount 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 caused you to overcome them" [Fath 48:24].

Muslim 4679

Sahih

حدثني عمرو بن محمد الناقد حدثنا يزيد بن هارون أخبرنا حماد بن سلمة عن ثابت

عن أنس بن مالك

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

مسلم 4679صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Jihad and expeditions
Chapter
His saying, "And He is the One who withheld their hands from you"
Numbering
Darussalam 4679
Muslim 4679