Contradiction with Matthew 11:28
Mark 5:17 depicts people asking Jesus to leave, whereas Matthew 11:28 invites people to come to Jesus for rest.
Matthew 11:28: Come unto me, all [ye] that labour and are heavy laden, and I will give you rest.
Contradiction with John 4:40
Mark 5:17 shows people asking Jesus to depart, while John 4:40 describes the Samaritans urging Him to stay with them.
John 4:40: So when the Samaritans were come unto him, they besought him that he would tarry with them: and he abode there two days.
Contradiction with Luke 8:40
In Mark 5:17, Jesus is asked to leave; contrastingly, Luke 8:40 shows people welcoming Jesus gladly.
Luke 8:40: And it came to pass, that, when Jesus was returned, the people [gladly] received him: for they were all waiting for him.
Contradiction with Acts 13:42
Mark 5:17 involves people wanting Jesus to leave; however, Acts 13:42 depicts people asking Paul and Barnabas to speak more about God's word.
Acts 13:42: And when the Jews were gone out of the synagogue, the Gentiles besought that these words might be preached to them the next sabbath. [the next...: Gr. in the week between, or, in the sabbath between]
Contradiction with John 6:68
Mark 5:17 reflects a rejection of Jesus, whereas John 6:68 highlights the disciples affirming Jesus as the source of eternal life and not wanting to leave Him.
John 6:68: Then Simon Peter answered him, Lord, to whom shall we go? thou hast the words of eternal life.