Ruth 4:7

Now this was the custom in former times in Israel concerning redeeming and exchanging, to confirm anything: one man took off his sandal and gave it to the other, and this was a confirmation in Israel.

Surrounding context

4:6 And the close relative said, "I cannot redeem it for myself, lest I ruin my own inheritance. You redeem my right of redemption for yourself, for I cannot redeem it."

4:7 Now this was the custom in former times in Israel concerning redeeming and exchanging, to confirm anything: one man took off his sandal and gave it to the other, and this was a confirmation in Israel.

4:8 Therefore the close relative said to Boaz, "Buy it for yourself." So he took off his sandal.

Translation and sources