But restore it before night, which intimates that he should take no such thing for pledge, without which a man cannot sleep, since it were an idle thing to fetch it and carry it every day. See Poole on "Exodus 22:26,27".
Related Commentaries of Deuteronomy 24:12
Deuteronomy 24:12
12 And if the man be poor, thou shalt not sleep with his pledge: