It is narrated from Jabir that Sayyiduna Ali (may Allah be pleased with him) imprisoned people for debt.