Death of a depositor who has no known heirs

Q: An elderly woman remembers that a friend of her husband had deposited money with him, but both of them died, and the money was spent. (Part No. 15; Page No. 421) This woman wants to clear her conscience and return the money to its owners. However, she does not know that man's heirs, as he lived in another country. Please advise concerning what to do with this money whose owner is not known after the original owner's death. May Allah reward you and guide you and all the Muslims to His obedience. May Allah grant you more knowledge and piety.

A: If you do not know the heirs of the moneys owner, there is no wrong in giving it as Sadaqah (voluntary charity) on behalf of its owner. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.