The World Federation One Stop Fiqh

Ruling 2358

If the owner of the property dies, the deposit agreement becomes void. Therefore, if there are no other rights on the property and it is to be transferred to his heir, then the safe keeper must return it to him or inform him of it. If he does not do this and the property perishes, he is responsible for it. However, if he holds on to the property in order to find out about the heirs or whether they are the only heirs of the deceased and the property perishes, he is not responsible for it.