Praise be to Allaah.
The person to whom the money was given is a trustee, and if the money in his care was lost without any wrongdoing on his part, then he does not have to pay any compensation. If the matter is as you say, then you do not have to give him anything in return.
And Allaah is the source of strength. May Allaah bless our Prophet Muhammad and his family and companions.