In the sixth year after hijrah the Prophet ﷺ set out with one thousand four hundred of his companions in order to perform ‘Umrah, when they had reached Al-hudaibiyyah the Quraish prevented them from entering Makkah and sought truce with them to leave off fighting for ten years, this was a great victory for the muslims as Allah said: “Indeed, We have given you, [O Muhammad], a clear conquest.” ‘Al-Fath: 1’.
This peace treaty allowed the muslims to return to Makkah the following year to perform ‘Umrah, so they returned the following year in the month of Dhil-Qa’dah and performed ‘Umrah al-Qadaa’ (making up for last year).