Hafiz Muhammad Ameen
Dinar was made of gold and dirham was made of silver. When the sale of gold and silver is permissible, then in place of dinar, dirhams can be received according to its value, and in place of dirhams, dinars can be received. In the present day, the currencies of various countries have the same status. If a transaction is made in rupees, then in place of rupees, dollars or riyals or pounds can be received according to the value of the rupees, but only at that time, not later, because the value of currency fluctuates. The currency in which the transaction was agreed upon will be considered the original, and the remaining currencies will be received according to the value at the time of payment.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 4586