Matthew 25:35 is one of the most direct passages in the Gospels about God's identification with the materially poor: "I was a stranger, and ye took me in." Jesus identifies himself with the person who needs shelter. This is not metaphor β the passage makes the identification explicit, and the disciples ask when they saw him as a stranger (v.38). The person without a home is not outside God's particular concern; they are inside it.
Psalm 91:1 β "He that dwelleth in the secret place of the most High shall abide under the shadow of the Almighty" β describes a form of dwelling that no eviction can touch. The person whose foundational dwelling is in God carries a shelter that is not subject to landlord or lease. This is not a substitute for physical housing. But it is the theological ground on which human dignity stands regardless of circumstance.
Commentary is from a charismatic Protestant perspective, drawing on KJV text and public-domain sources including Spurgeon, Andrew Murray, and Matthew Henry.