Abdullah bin Umar reported,

Abu Saeed Khudri reported a similar hadith from the Messenger of Allah ﷺ. Abdullah bin Umar met him and asked, "Abu Saeed, what is this you are narrating from the Messenger of Allah ﷺ?"Abu Saeed replied, "Concerning currency exchange? I heard the Messenger of Allah ﷺ say, 'Gold for gold, like for like, and silver for silver, like for like.'"

Azami 5722

Sahih

عن عبد الله بن عمر

أن أبا سعيد الخدري حدثه مثل ذلك حديثا عن رسول الله ﷺ، فلقيه عبد الله بن عمر، فقال: يا أبا سعيد، ما هذا الذي تحدث عن رسول الله ﷺ؟ فقال أبو سعيد: في الصرف؟ سمعت رسول الله ﷺ يقول: الذهب بالذهب مثلا بمثل، والورق بالورق مثلا بمثل.

الأعظمي 5722صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sales
Chapter
Prohibited sales
Section
Those who say riba is only in credit transactions
Numbering
Jami al-Kamil 5722 (2nd edition)
Azami 5722