Mat 22:36 “Teacher, which is the great command in the Torah?”
Mat 22:37 And Yahuwshuwa said to him, “ ‘You shall love YaHuWaH your Elohim with all your heart, and with all your being, and with all your mind.’
Mat 22:38 “This is the first and great command.
Mat 22:39 “And the second is like it, ‘You shall love your neighbour as yourself.’
Mat 22:40 “On these two commands hang all the Torah and the Prophets.”
He's quoting Torah.
Deu 6:5 “And you shall love YaHuWaH your Elohim with all your heart, and with all your being, and with all your might.
Lev 19:18 ‘Do not take vengeance or bear a grudge against the children of your people. And you shall love your neighbour as yourself. I am YaHuWaH.
Joh 14:15 “If you love Me, you shall guard My commands.
Joh 14:23 Yahuwshuwa answered him, “If anyone loves Me, he shall guard My Word. And My Father shall love him, and We shall come to him and make Our stay with him.
Joh 14:24 “He who does not love Me does not guard My Words. And the Word which you hear is not Mine but of the Father Who sent Me.
Joh 15:10 “If you guard My commands, you shall stay in My love, even as I have guarded My Father’s commands and stay in His love.
Rev 12:17 And the dragon was enraged with the woman, and he went to fight with the remnant of her seed, those GUARDING THE COMMANDS OF Elohiym AND possessing the witness of Yahuwshuwa Mashiyach.
Rev 14:12 Here is the endurance of the set-apart ones, here are those GUARDING THE COMMANDS OF Elohiym AND the belief of Yahushuwa.
Rev 22:14 “Blessed are those DOING HIS COMMANDS, so that the authority shall be theirs unto the tree of life, and to enter THROUGH THE GATES into the city.