All perfect praise be to Allaah, The Lord of the worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and messenger.
May Allaah The Almighty Reward you well for settling these debts and may He Recompense you in multitudes of what you spent. Know, then, that it is not right for you to be repaid from the wealth of the deceased because taking over the debts and settling them is a favor and donation.
Ad-Dusooqi, the Maaliki scholar said: “If someone knowingly took over a financial difficulty on behalf of the deceased who was constrained, then he is not to be compensated for wealth that is found later. This is because his act was a favor and donation. But, if he knew that he had wealth or even assumed it or doubted (that he did not have any), and that wealth was later discovered, then he is compensated for what he paid.”
Allaah Knows best.