It is narrated from Hazrat Jabir (may Allah be pleased with him) that Hazrat Ali (may Allah be pleased with him) was imprisoned due to debt.