The Gospels vary a good deal on what exactly Jesus said, and when exactly He said it. But this just shows that the writers were not 20th-century people concerned with the exact wording of things. They paraphrase Jesus in their own words to bring out the meaning which they feel their audience needs to hear.