Deuteronomy 24:13

New American Standard Bible (NASB)
When the sun goes down you shall surely return the pledge to him, that he may sleep in his cloak and bless you; and it will be righteousness for you before the Lord your God.

Read Deuteronomy 24:13 in other translations