In the book of Mathew it says, Mat 22:37-40 Jesus said unto him, Thou shalt love the Lord thy God with all thy heart, and with all thy soul, and with all thy mind. This is the first and great commandment. And the second is like unto it, Thou shalt love thy neighbour as thyself. On these two commandments hang all the law and the prophets.
When Jesus quoted these two commandments He was not giving a new law to replace the Ten Commandments of God, He was in fact quoting an Old Testament scripture on the importance of keeping the Ten Commandments. Deu 6:5-8 And thou shalt love the LORD thy God with all thine heart, and with all thy soul, and with all thy might. And these words, which I command thee this day, shall be in thine heart: And thou shalt bind them for a sign upon thine hand, and they shall be as frontlets between thine eyes.
Jesus was reinforcing the sentiment that the Ten Commandments were a law of love. The first four commandments showed us how to love God, and the last six how to love our fellow man. This is why He said, On these two commandments hang all the law and the prophets.
Another verse showing the nature of the Ten Commandments is...