It was narrated that Ibn 'Abbas (رضي الله عنه) said:
Umar bin al-Khattab used to give permission to the people of Badr to enter and he would let me come in with them. One of them said: He lets this boy come in with us, and some of our sons are like him. 'Umar said: You know who he is. Permission was given to them to enter one day and I was given permission to enter with them. He asked them about this soorah: "Where there comes the Help of Allah (to you, O Muhammad (ﷺ) against your enemies) and the Conquest (of Makkah)" (an-Nasr 105). They said: Allah commanded His Prophet (ﷺ), when victory was granted to him, to ask Him for forgiveness and turn to Him. Then he said to me: What do you think, O Ibn 'Abbas? I said: That is not so; rather He was telling His Prophet (ﷺ) that he would soon die, so He said, “When there comes the Help of Allah (to you, O Muhammad (ﷺ) against your enemies) and the Conquest (of Makkah)", referring to the conquest of Makkah; "And you see that the people enter Allah's religion (Islam) in crowds", for that is a sign of your death; "So glorify the Praises of your Lord, and ask His forgiveness, Verily, He is the One Who accepts the repentance and Who forgives.” ‘Umar said to them: How could you blame me (for allowing this boy to join us) for what you can see yourselves?