See Deuteronomy 24:19-21. “Grape” signifies fallen fruit of any kind; and “vineyard” a fruit garden of any kind. Compare Deuteronomy 23:24.
The poor - is the poor Israelite - “the stranger” is properly the foreigner, who could possess no land of his own in the land of Israel.