10When you lend anything to your neighbor, do not enter his house to collect security.
11You are to stand outside while the man to whom you are lending brings the security out to you.
12If he is a poor man, you must not go to sleep with the security in your possession;
13be sure to return it to him by sunset, so that he may sleep in his own cloak and bless you, and this will be credited to you as righteousness before the LORD your God.
— Deuteronomy 24:10-13