Matthew 22:34-40
34 Now when the Pharisees heard that He had silenced (muzzled) the Sadducees, they gathered together. 35 One of them, a lawyer [an expert in Mosaic Law], asked Jesus a question, to test Him: 36 “Teacher, which is the greatest commandment in the Law?”
37 And Jesus replied to him, “‘You shall love the Lord your God with all your heart, and with all your soul, and with all your mind.’ 38 This is the first and greatest commandment. 39 The second is like it, ‘You shall love your neighbor as yourself [that is, unselfishly seek the best or higher good for others].’ 40 The whole Law and the [writings of the] Prophets depend on these two commandments.”
Mark 12:28-34
28 Then one of the scribes [an expert in Mosaic Law] came up and listened to them arguing [with one another], and noticing that Jesus answered them well, asked Him, “Which commandment is first and most important of all?”
29 Jesus answered, “The first and most important one is: ‘Hear, O Israel, the Lord our God is one Lord; 30 and you shall love the Lord your God with all your heart, and with all your soul (life), and with all your mind (thought, understanding), and with all your strength.’
31 This is the second: ‘You shall [unselfishly] love your neighbor as yourself.’ There is no other commandment greater than these.”
32 The scribe said to Him, “Admirably answered, Teacher; You truthfully stated that He is One, and there is no other but Him; 33 and to love Him with all the heart and with all the understanding and with all the strength, and to [unselfishly] love one’s neighbor as oneself, is much more than all burnt offerings and sacrifices.”
34 When Jesus saw that he answered thoughtfully and intelligently, He said to him, “You are not far from the kingdom of God.” And after that, no one would dare to ask Him any more questions.