Is it permissible to repay debts in another currency with the agreement of both parties?
For instance, a person borrows a number of Riyals, provided that they repay them in Dinars with the current value.
If the case is as you have mentioned, this condition is Haram (prohibited), because it is delayed change. This is only permissible if exchanged hand to hand in the same meeting.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.