Repaying debt with the currency in circulation at the time of sale

A: If the reality is as you have mentioned, you should pay your friend (Part No. 13; Page No. 175) silver faransi (French) riyals or their value at the time of repayment and not at the time of sale. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.