Deuteronomy 24:11-13

NHEB(i) 11 You shall stand outside, and the man to whom you do lend shall bring forth the pledge outside to you. 12 If he be a poor man, you shall not sleep with his pledge; 13 you shall surely restore to him the pledge when the sun goes down, that he may sleep in his garment, and bless you: and it shall be righteousness to you before the LORD your God.