John 21:14-17

14 This was now the third time that Jesus appeared to the disciples after he was raised from the dead.
15 When they had finished breakfast, Jesus said to Simon Peter, "Simon son of John, do you love me more than these?" He said to him, "Yes, Lord; you know that I love you." Jesus said to him, "Feed my lambs."
16 A second time he said to him, "Simon son of John, do you love me?" He said to him, "Yes, Lord; you know that I love you." Jesus said to him, "Tend my sheep."
17 He said to him the third time, "Simon son of John, do you love me?" Peter felt hurt because he said to him the third time, "Do you love me?" And he said to him, "Lord, you know everything; you know that I love you." Jesus said to him, "Feed my sheep.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.