From Sahih Bukhari (Hadith 4172):
Narrated Anas bin Malik:regarding Allah's Statement: "Verily! We have granted you (O, Muhammad) Manifest victory." (48.1) It refers to the Al-Hudaibiya Pledge. And the companions of the Prophet (ﷺ) said (to the Prophet), "Congratulations and happiness for you; but what reward shall we get?" So Allah revealed:-- "That He may admit the believing men and women to gardens beneath which rivers flow
Reference: Bukhari 4172