Take the garment of one who puts up security for a stranger; hold it in pledge if it is done for an outsider. (NIV)
[The judge tells the creditor] Take the garment of one who is security for a stranger; and hold him in pledge when he is security for foreigners. (AMP)
Take his garment that is surety for a stranger: and take a pledge of him for a strange woman. (KJV)