The World Federation One Stop Fiqh

Ruling 2318

If a transferor himself pays his debt to the creditor, then, if the transferee was indebted to the transferor and he had requested the transferor to pay the creditor, the transferor can claim what he paid to the creditor from the transferee. But, if the transferor paid the creditor without the transferee requesting this, or if the transferee was not indebted to the transferor, then the transferor cannot claim what he paid the creditor from the transferee.