"For I tell you, unless your righteousness exceeds that of the scribes and Pharisees, you will never enter the kingdom of heaven" (Matthew 5:20).
Jesus did not mean a greater righteousness of the law, but rather the righteousness of God rather than the righteousness of the law (Anders Nygren. Commentary on Romans. New edition. Augsburg Fortress Pub, 1978. On Romans 1:16-17).