Abu Nadra reported,

I asked Ibn Umar and Ibn Abbas about currency exchange, and neither of them saw any harm in it. Then, while I was sitting with Abu Saeed Khudri, I asked him about currency exchange.He said, "Whatever is given in excess is usury."I rejected that, citing what the other two had said.He replied, "I will only tell you what I heard from the Messenger of Allah ﷺ. The owner of his date palms brought him a sa of fine dates, while the dates the Prophet ﷺ usually had were of a different kind."The Prophet ﷺ asked him, "Where did you get these from?"The man said, "I took two sa and bought this one sa with them, since the market price of this kind is such-and-such, and the price of that kind is such-and-such."The Messenger of Allah ﷺ said, "Woe to you! You have committed usury. If you want to do that, then sell your dates for some other commodity, then with that commodity buy whatever dates you wish."Abu Saeed said, "So dates for dates is more deserving of being usury, or silver for silver?"The narrator said, "I went to Ibn Umar afterward, and he forbade me from it. I did not go back to Ibn Abbas, but Abu Sahba told me that he asked Ibn Abbas about it in Mecca, and he too disapproved of it."

Muslim 4087

Sahih

حدثنا إسحق بن إبراهيم أخبرنا عبد الأعلى أخبرنا داود

عن أبي نضرة قال

سألت ابن عمر وابن عباس عن الصرف فلم يريا به بأسا فإني لقاعد عند أبي سعيد الخدري فسألته عن الصرف فقال ما زاد فهو ربا فأنكرت ذلك لقولهما فقال لا أحدثك إلا ما سمعت من رسول الله ﷺ جاءه صاحب نخله بصاع من تمر طيب وكان تمر النبي ﷺ هذا اللون فقال له النبي ﷺ أنى لك هذا قال انطلقت بصاعين فاشتريت به هذا الصاع فإن سعر هذا في السوق كذا وسعر هذا كذا فقال رسول الله ﷺ ويلك أربيت إذا أردت ذلك فبع تمرك بسلعة ثم اشتر بسلعتك أي تمر شئت قال أبو سعيد فالتمر بالتمر أحق أن يكون ربا أم الفضة بالفضة قال فأتيت ابن عمر بعد فنهاني ولم آت ابن عباس قال فحدثني أبو الصهباء أنه سأل ابن عباس عنه بمكة فكرهه

مسلم 4087صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Sharecropping of orchards
Chapter
Food sold like for like
Numbering
Darussalam 4087
Muslim 4087