Found in Matthew 14:22-33, Mark 6:45-52 and John 6:16-21
22] And straightway
Immediately after Jesus fed the 5,000 and the disciples collected the leftovers
Jesus constrained his disciples to get into a ship, and to go before him unto the other side (toward Capernaum – John 6:17) (unto Bethsaida – Mark 6:45), while he sent the multitudes away.
23] And when he had sent the multitudes away, he went up into a mountain apart to pray: and when the evening was come, he was there alone.
24] But the ship was now in the midst of the sea, tossed with waves: for the wind was contrary. (And Jesus saw them toiling in rowing – Mark 6:48)
John 6:19 says “when they had rowed about twenty-five or thirty furlongs” (4-4 1/2 miles)
25] And in the fourth watch of the night Jesus went unto them, walking on the sea (and would have passed by them – Mark 6:48).
26] And when the disciples saw him walking on the sea, they were troubled, saying, It is a spirit; and they cried out for fear.
27] But straightway Jesus spake unto them, saying, Be of good cheer; it is I; be not afraid.
28] And Peter answered him and said, Lord, if it be thou, bid me come unto thee on the water.
29] And he said, Come. And when Peter was come down out of the ship, he walked on the water, to go to Jesus.
30] But when he saw the wind boisterous, he was afraid; and beginning to sink, he cried, saying, Lord, save me.
31] And immediately Jesus stretched forth his hand, and caught him, and said unto him, O thou of little faith, why did you doubt?
32] And when they were come into the ship, the wind ceased (and immediately the ship was at the land whither they went – John 6:21).
33] Then they that were in the ship came and worshipped him, saying, Of a truth thou art the Son of God.
51] …and they were sore amazed in themselves beyond measure, and wondered.
52] For they considered not the miracle of the loaves: for their heart was hardened.