Deuteronomy 24:13

King James Version Bible (KJV)
In any case thou shalt deliver him the pledge again when the sun goeth down, that he may sleep in his own raiment, and bless thee: and it shall be righteousness unto thee before the Lord thy God.

Read Deuteronomy 24:13 in other translations