A Ruling Concerning Bequests
The ruling on bequeathing wealth that a person does not own, but which is a debt upon him, where he bequeaths it in order to be relieved of responsibility for it.
First: It is obligatory upon you to search for the rightful owner in order to deliver his right to him, and to ask about him from whoever, in your view, may have some news of him. If, despite extensive searching and full effort, you fail to find him and you have no idea where he has gone, then give that sum as charity with the intention of reward for him. But when he comes and demands his right, give him his right, and what you gave in charity will count as from you. If you know of a close relative or kinsman of his who will deliver his right to him, then give his right to that relative or kinsman of his, who will deliver it to him. If you learn that he has died, give the wealth to his heirs. If it is neither this nor that, and you know nothing about him, then, as we have mentioned, give it in charity on his behalf with the intention of reward for him. If he comes after that, then it is obligatory upon you to return his right to him, and that charity will count as yours.