(15) باب الصَّرْفِ وَبَيْعِ الذَّهَبِ بِالْوَرِقِ نَقْدًا
Ubida b. al-Simit (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying:
Gold is to be paid for by gold, silver by silver, wheat by wheat, barley by barley, dates by dates, and salt by salt, like for like and equal for equal, payment being made hand to hand. If these classes differ, then sell as you wish if payment is made hand to hand.
Reference: Sahih Muslim 1587 c
In-book reference: Book 22, Hadith 102
USC-MSA web (English) reference(deprecated numbering scheme): Book 10, Hadith 3853