Qadi Shurayh bin Harith (the Kindi judge of Kufa), may Allah have mercy on him, used to order regarding a debtor that he be tied to a pillar of the mosque.