In the name of allah our creator , God of abraham , Moses , Jacob , Jesus and all Prophets

Matthew 14 : 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.

Who did Jesus pray to if he is God????