If a deceased person's land needs to be sold to repay debts, but one of the legal heirs is currently in jail, selling the property without their signature is not possible. The family must arrange for the heir's signature to be obtained from within the jail. This typically involves applying to the Sub-Registrar, who can then visit the jail to get the necessary signature and thumb impression, provided permission is granted by the jail authorities. In specific circumstances, such as the heir being imprisoned for killing the deceased, their inheritance rights might be affected, but otherwise, their involvement is crucial for a legal sale.