One of the scribes came up, heard them debating and saw how well he had answered. He asked him, “Which commandment is first of all?”
In context
26And about the dead being raised — have you not read in the book of Moses, in the passage about the bush, how God told him: ‘I am the God of Abraham, the God of Isaac, the God of Jacob’? 27He is not a God of the dead but of the living. You are badly mistaken.” 28One of the scribes came up, heard them debating and saw how well he had answered. He asked him, “Which commandment is first of all?” 29Jesus answered, “The first is this: ‘Listen, Israel: the Lord our God, the Lord is one. 30And you will love the Lord your God with your whole heart, your whole soul, your whole mind and your whole strength.’