Death does not automatically terminate the partnership or transfer all obligations to a single individual.
Steps
The ownership documents, contract, takaful coverage, and inheritance procedures must be reviewed.
Then, the bank and the heirs will determine whether the partnership continues, the share is purchased, or a settlement is reached.
In this case, the legal document is more important than any general answer.