It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) concerning this saying of Allah Almighty, "And your movement among those who prostrate," that he said: "That is, (your) being transferred from one Prophet to another Prophet, until you were sent forth as a Prophet."
Related hadith on this topic