Jesus quotes a verse from Leviticus as the second greatest commandment.
Here "neighbor" means more than just those who live nearby. Jesus means a person must love all people.