Hammad (may Allah have mercy on him) said: If the master frees him, the master is responsible for paying the debt.