Qatadah narrates from Sayyiduna Anas (may Allah be pleased with him) that "Indeed, We have granted you a clear victory" [Surah al-Fath: 1] refers to the victory of al-Hudaybiyyah. A man said: "O Messenger of Allah (peace and blessings be upon him)! Congratulations! This is for you, but what is for us?" So Allah Almighty revealed this verse: "That He may admit the believing men and the believing women into gardens beneath which rivers flow" [Surah al-Fath: 5]. Shu'bah says: I came to Kufa and narrated it to them from Qatadah from Anas; then I came to Basra and mentioned that to Qatadah, and he said: The first words are those of Sayyiduna Anas (may Allah be pleased with him), and the second words, that is the verse: "That He may admit the believing men and the believing women into gardens beneath which rivers flow" [Surah al-Fath: 5], are reported from Ikrimah (may Allah have mercy on him).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجزية / 18812