John 1:40-42 New International Version (NIV)
40 Andrew, Simon Peter’s brother, was one of the two who heard what John had said and who had followed Jesus. 41 The first thing Andrew did was to find his brother Simon and tell him, “We have found the Messiah” (that is, the Christ). 42 And he brought him to Jesus.
Jesus looked at him and said, “You are Simon son of John. You will be called Cephas” (which, when translated, is Peter).
Matthew 16:13-23 New International Version (NIV)
Peter Declares That Jesus Is the Messiah
13 When Jesus came to the region of Caesarea Philippi, he asked his disciples, “Who do people say the Son of Man is?”
14 They replied, “Some say John the Baptist; others say Elijah; and still others, Jeremiah or one of the prophets.”
15 “But what about you?” he asked. “Who do you say I am?”
16 Simon Peter answered, “You are the Messiah, the Son of the living God.”
17 Jesus replied, “Blessed are you, Simon son of Jonah, for this was not revealed to you by flesh and blood, but by my Father in heaven. 18 And I tell you that you are Peter, and on this rock I will build my church, and the gates of Hades will not overcome it. 19 I will give you the keys of the kingdom of heaven; whatever you bind on earth will be bound in heaven, and whatever you loose on earth will be loosed in heaven.” 20 Then he ordered his disciples not to tell anyone that he was the Messiah.
Jesus Predicts His Death
21 From that time on Jesus began to explain to his disciples that he must go to Jerusalem and suffer many things at the hands of the elders, the chief priests and the teachers of the law, and that he must be killed and on the third day be raised to life.
22 Peter took him aside and began to rebuke him. “Never, Lord!” he said. “This shall never happen to you!”
23 Jesus turned and said to Peter, “Get behind me, Satan! You are a stumbling block to me; you do not have in mind the concerns of God, but merely human concerns.”