Ubada bin Samit reported,

He said, "The Messenger of Allah ﷺ forbade us from selling silver for silver, gold for gold, wheat for wheat, barley for barley, and dates for dates." One of them added, "and salt for salt," while the other did not mention it. "And he commanded us to sell wheat for barley and barley for wheat, hand to hand, however we wished."

Ibn Majah 2254

Sahih

حدثنا حميد بن مسعدة حدثنا يزيد بن زريع ح و حدثنا محمد بن خالد بن خداش حدثنا إسمعيل ابن علية قالا حدثنا سلمة بن علقمة التميمي حدثنا محمد بن سيرين أن مسلم بن يسار وعبد الله بن عبيد حدثاه قالا جمع المنزل بين عبادة بن الصامت ومعاوية إما في كنيسة وإما في بيعة فحدثهم

عبادة بن الصامت فقال

قال نهانا رسول الله ﷺ عن بيع الورق بالورق والذهب بالذهب والبر بالبر والشعير بالشعير والتمر بالتمر قال أحدهما والملح بالملح ولم يقله الآخر وأمرنا أن نبيع البر بالشعير والشعير بالبر يدا بيد كيف شئنا

ابن ماجه 2254صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Trade
Chapter
Currency exchange and what is not permitted with excess in hand-to-hand transactions
Numbering
Darussalam 2254
Ibn Majah 2254