Deuteronomy 24:12-13

24:12 If the person is poor you may not use what he gives you as security for a covering. 24:13 You must by all means return to him at sunset the item he gave you as security so that he may sleep in his outer garment and bless you for it; it will be considered a just deed by the Lord your God.

Deuteronomy 24:17

24:17 You must not pervert justice due a resident foreigner or an orphan, or take a widow’s garment as security for a loan.