The consummation of this fruit is now set forth (v 38), for what John began is completed by Christ, since "the law brought nothing to perfection" (Heb 7:19). And Christ does two things. First, he questions the disciples who were following him. Secondly, he teaches them (v 39). As to the first we have: first, the question of Christ is given; secondly, the answer of the disciples.
He says, Jesus turned around, and seeing them following him said. According to the literal sense we should understand that Christ was walking in front of them, and these two disciples, following him, did not see his f...ace at all; and so Christ turns to them to bolster their confidence. This lets us know that Christ gives confidence and hope to all who begin to follow him with a pure heart: "She goes to meet those who desire her" (Wis 6:14). Now Jesus turns to us in order that we may see him; this will happen in that blessed vision when he will show us his face, as is said: "Show us your face, and we will be saved" (Ps 79:4). For as long as we are in this world we see his back, because it is through his effects that we acquire a knowledge of him; so it is said, "You will see my back" (Ex 33:23). Again, he turns to give us the riches of his mercy. This is requested in Psalm 89 (13): "Turn to us, O Lord." For as long as Christ withholds the help of his mercy he seems to be turned away from us. And so Jesus turned to the disciples of John who were following him in order to show them his face and to pour his grace upon them.
Christ examines them specifically about their intention. For all who follow Christ do not have the same intention: some follow him for the sake of temporal goods, and others for spiritual goods. And so the Lord asks their intention, saying, What are you looking for?; not in order to learn their intention, but so that, after they showed a proper intention, he might make them more intimate friends and show that they are worthy to hear him.
It may be remarked that these are the first words which Christ speaks in this Gospel. And this is appropriate, because the first thing that God asks of a man is a proper intention. And, according to Origen, after the six words that John had spoken, Christ spoke the seventh. The first words spoken by John were when, bearing witness to Christ, he cried out, saying, "This is the one of whom I said." The second is when he said, "I am not worthy to unfasten the strap of his sandal." The third is, "I baptize with water. But there is one standing in your midst whom you do not recognize." The fourth is, "Look! There is the Lamb of God." The fifth, "I saw the Spirit coming down on him from heaven like a dove." The sixth, when he says here, "Look! There is the Lamb of God." But it is Christ who speaks the seventh words so that we may understand, in a mystical sense, that rest, which is signified by the seventh day, will come to us through Christ, and that in him is found the fulness of the seven gifts of the Holy Spirit.
The disciples answer; and although there was one question, they gave two answers. First, why they are following Christ, namely, to learn; thus they call him Teacher, Rabbi (which means Teacher). As if to say: We ask you to teach us. For they already knew what is stated in Matthew (23:10): "You have one Teacher, the Christ." The second answer is what they want in following him, that is, Where do you live? And literally, it can be said that in truth they were looking for the home of Christ. For because of the great and wonderful things they had heard about him from John, they were not satisfied with questioning him only once and in a superficial way, but wanted to do so frequently and seriously. And so they wanted to know where his home was so that they might visit him often, according to the advice of the wise man: "If you see a man of understanding, go to him early" (Sir 6:36), and "Happy is the man who hears me, who watches daily at my gates" (Prv 8:34).
In the allegorical sense, God's home is in heaven, according to the Psalm (122:1): "I have lifted up my eyes to you, who live in heaven." So they asked where Christ was living because our purpose in following him should be that Christ leads us to heaven, i.e., to heavenly glory.
Finally, in the moral sense, they ask, Where do you live? as though desiring to learn what qualities men should possess in order to be worthy to have Christ dwell in them. Concerning this dwelling Ephesians (2:22) says: "You are being built into a dwelling place for God." And the Song (1:6) says: "Show me, you whom my soul loves, where you graze your flock, where you rest at midday."
Source: Commentary on John