Malik said, "When a man buys dirhams with dinars and then finds a bad dirham among them and wants to return it, the exchange of the dinars breaks down, and he returns the silver and takes back his dinars. The explanation of what is disapproved of in that is that the Messenger of Allah (ﷺ) said, 'Gold for silver is usury except hand to hand.' and Umar ibn al-Khattab said, 'If someone asks you to wait to be paid until he has gone back to his house, do not leave him.' When he returns a dirham to him from the exchange after he has left him, it is like a debt or something deferred. For that reason, it is disapproved of, and the exchange collapses. Umar ibn al-Khattab wanted that all gold, silver and food should not be sold for goods to be paid later. He did not want there to be any delay or deferment in any such sale, whether it involved one commodity or different sorts of commodities."
Arabic : Book 31, Hadith 1330