Deuteronomy 24:12

12 And if he be a poor man, thou shalt not sleep with his pledge;

Deuteronomy 24:12 In-Context

10 When thou dost lend thy neighbor any manner of loan, thou shalt not go into his house to fetch his pledge.
11 Thou shalt stand without, and the man to whom thou dost lend shall bring forth the pledge without unto thee.
12 And if he be a poor man, thou shalt not sleep with his pledge;
13 thou shalt surely restore to him the pledge when the sun goeth down, that he may sleep in his garment, and bless thee: and it shall be righteousness unto thee before Jehovah thy God.
14 Thou shalt not oppress a hired servant that is poor and needy, whether he be of thy brethren, or of thy sojourners that are in thy land within thy gates:
The American Standard Version is in the public domain.