لَّقَدْ صَدَقَ ٱللَّهُ رَسُولَهُ ٱلرُّءْيَا بِٱلْحَقِّ ۖ لَتَدْخُلُنَّ ٱلْمَسْجِدَ ٱلْحَرَامَ إِن شَآءَ ٱللَّهُ ءَامِنِينَ مُحَلِّقِينَ رُءُوسَكُمْ وَمُقَصِّرِينَ لَا تَخَافُونَ ۖ فَعَلِمَ مَا لَمْ تَعْلَمُوا۟ فَجَعَلَ مِن دُونِ ذَٰلِكَ فَتْحًا قَرِيبًا
Laqad sadaqal laahu Rasoolahur ru'yaa bilhaqq, latadkhulunnal Masjidal-Haraama in shaaa'al laahu aamineena muhalliqeena ru'oosakum wa muqassireena laa takhaafoona fa'alima maa lam ta'lamoo faja'ala min dooni zaalika fathan qareebaa
God has truly fulfilled the vision he showed his Messenger: you will surely enter the Sacred Mosque, if God wills, in safety — your heads shaved or your hair cropped — without fear. He knew what you did not know, and beyond that he has granted a near victory.
The promise here carries the phrase "if God wills" inside God's own speech, and commentators have read that several ways: as words belonging to the vision as the Messenger saw it, as instruction in how a believer speaks of the future, or as certainty about the fact with the timing withheld. What was withheld turned out to be a year, since the entry came on the following season's pilgrimage.