The pardon of the raiders at Hudaybiyya
24–25
As narrated from Anas in Muslim, on the day of Hudaybiyya eighty armed men of Mecca came down from the direction of Tan'im, seeking to attack the Prophet and his Companions; they were captured, but the Prophet spared them and set them free. Thereupon the verse was revealed: “It is He who withheld their hands from you and your hands from them in the valley of Mecca, after He had given you the upper hand over them.” The following verse explains that fighting was not permitted that year because there were in Mecca believing men and women not yet known.
Müslim 1808
Revelation context of the surah
Surah-wide
Al-Fath is Medinan; sound reports establish that it was revealed on the return journey to Medina after the Treaty of Hudaybiyyah (6 AH). It declares the treaty, which had seemed a setback, to be 'a manifest victory', and commemorates the Pledge of Ridwan under the tree while promising victories to come.
Buhârî ve Müslim rivayetleri; siyer kaynakları