Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) narrates: When this surah was revealed: "When the help of Allah and the victory come," the Prophet (peace and blessings be upon him) said: "I have been informed of my death." The narrator says: That is, informed that he would pass away in that same year.
Ahmad recorded it; its chain contains a narrator, Ata' bin al-Sa'ib, who suffered from memory confusion (ikhtilat).