Items bought on hire purchase don’t belong to you until the final payment is made. If the buyer dies before that, the executor should check there’s insurance to pay off the agreement on death. If so, the item becomes part of the estate.
If not, you’ll need to consider your options, as hire purchase agreements can be complicated. The creditor or a debt advice service will be able to help.