At that time Mary got ready and hurried to a town in the hill country of Judea, where she entered Zechariah’s home and greeted Elizabeth. When Elizabeth heard Mary’s greeting, the baby leaped in her womb, and Elizabeth was filled with the Holy Spirit. In a loud voice she exclaimed: “Blessed are you among women, and blessed is the child you will bear! But why am I so favored, that the mother of my Lord should come to me? As soon as the sound of your greeting reached my ears, the baby in my womb leaped for joy. Blessed is she who has believed that the Lord would fulfill his promises to her!” - Luke 1:39-45 (NIV)
There were plenty of people that recognized Jesus as the Messiah after he was born. We know the familiar stories of the shepherds and wise men that traveled many miles to meet the newborn king that they had been waiting for. We know the story of Simeon, in his old age, getting to finally lay eyes on the Savior, just as God had promised him he would. And Anna the prophet, also very old, recognizing Jesus when he is brought to the temple in Jerusalem as a child. These people met Jesus as a baby, as a child, and yet they still miraculously recognized him as theSon of God. Impressive, to say the least.
But how much more remarkable is it that the Bible tells us that there were people who recognized Jesus as the Messiah before He was even born? And that one of those people was an unborn baby himself! Elizabeth said, “As soon as the sound of your greeting reached my ears,the baby in my womb leaped for joy”. (emphasis mine)