It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that he said to Sayyiduna Ibn Abbas (may Allah be pleased with them both): Did you have a companionship with the Prophet (peace and blessings be upon him) that I did not have? I heard the Prophet (peace and blessings be upon him) say: "Gold for gold, like for like, and silver for silver, like for like." So Ibn Abbas said: Sayyiduna Usamah (may Allah be pleased with him) told me that "this (ruling) was in (the case of) deferred payment."
Hadith Referenceالمعجم الكبير للطبراني / باب الألف / 440