Deuteronomy 24:12-13

MLV(i) 12 And if he is a poor man, you will not sleep with his pledge. 13 You will surely restore to him the pledge when the sun goes down, that he may sleep in his garment and bless you. And it will be righteousness to you before Jehovah your God.