Is the verse about the Hijra a prophecy about a particular event?
Not in that narrow sense. The verse is a general statement, because Hijra means above all the migration of the soul from worldly things towards God, and this Hijra takes place again and again in a Muslim’s life.
Many people link the word Hijra with only one event, the migration of the Holy Prophet Muhammad (saw) from Mecca to Medina. So they read every verse about Hijra as a prediction of exactly that event. But the word has a much wider meaning.
At its heart, Hijra is a spiritual movement. A person leaves a worldly state and sets out towards God. The hadith above explains this meaning, and Imam Bukhari deliberately placed it at the very beginning of his whole collection. It was meant to be the guideline for everything that follows.
The outward migration also depends on this inner one. If a journey to another land is not driven by the wish to come closer to God, it has no special worth before Him. The inner Hijra is the driving force, and the outer one is only its visible expression.
Whether an outward migration is needed depends on circumstances and can change. The inner Hijra, however, never stops. It happens every day, in many people and in many places. Whoever gives up a bad habit out of love for God is migrating in this sense, as the second hadith above shows.
That is why the verse is not limited to a single event. It describes something that is constantly present in a Muslim’s life, and that is how it should be understood.