Exodus 22:26

24 My anger will be kindled, and I will kill you with the sword; then your wives will become widows and your children will be fatherless.

25 If you lend money to one of My people among you who is poor, you must not act as a creditor to him; you are not to charge him interest.

If you take your neighbor’s cloak as collateral, return it to him by sunset,

27 because his cloak is the only covering he has for his body. What else will he sleep in? And if he cries out to Me, I will hear, for I am compassionate.

28 You must not blaspheme God or curse the ruler of your people.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
If you take your neighbor’s cloak as collateral, return it to him by sunset,
KJV
If thou at all take thy neighbour’s raiment to pledge, thou shalt deliver it unto him by that the sun goeth down:
WEB
If you take your neighbor’s garment as collateral, you shall restore it to him before the sun goes down,
ASV
If thou at all take thy neighbor`s garment to pledge, thou shalt restore it unto him before the sun goeth down:
DARBY
If thou at all take thy neighbour's garment in pledge, thou shalt return it to him before the sun goes down;
BLB
If you at all take in pledge the garment of your neighbor, you shall return it to him before the sun goes down.
ÅB
Dersom du tar din nestes kappe i pant, skal du gi ham den igjen før solen går ned;
OTB
Hvis du tar din nabos kappe som pant, sørg for at den blir returnert ved solnedgang,
B1930
Dersom du tar din næstes kappe i pant, skal du gi ham den igjen før solen går ned;

Study notes (Tyndale)

Original text and word study

Cross references