The Messenger of Allah ﷺ forbade us from selling gold for gold, silver for silver, dates for dates, wheat for wheat, and barley for barley. One of them added, "and salt for salt," while the other did not mention it, except in equal measure, like for like. One of them said, "Whoever adds more or seeks more has engaged in usury," while the other did not say this. He commanded us to sell gold for silver, silver for gold, wheat for barley, and barley for wheat, hand to hand, however we wished.
أخبرنا المؤمل بن هشام قال حدثنا إسمعيل وهو ابن علية عن سلمة بن علقمة عن ابن سيرين قال حدثني مسلم بن يسار وعبد الله بن عبيد وقد كان يدعى ابن هرمز قال جمع المنزل بين عبادة بن الصامت وبين معاوية
نهانا رسول الله ﷺ عن بيع الذهب بالذهب والفضة بالفضة والتمر بالتمر والبر بالبر والشعير بالشعير قال أحدهما والملح بالملح ولم يقله الآخر إلا سواء بسواء مثلا بمثل قال أحدهما من زاد أو ازداد فقد أربى ولم يقله الآخر وأمرنا أن نبيع الذهب بالفضة والفضة بالذهب والبر بالشعير والشعير بالبر يدا بيد كيف شئنا
[Its isnad is sahih]. See the previous hadith. It is in Kubra, no. 6153, and Ibn Majah narrated it, no. 2254, from the hadith of Ismail bin Ulaya, through him.