I do not understand what exactly is your point.

First thing you have to understand is what is Quran. The passage you have written in your original post about Prophet pbuh's miration to Medina is not in Quran.

Unlike Bible which is a book written by people after death of Jesus, about what he did, how he lived etc, Quran is not the story of Prophet. The Prophet's life is recorded in history and Hadith and not in Quran.

So first thing, find a copy of Quran and read it.