Abu Saeed Khudri reported,

"A dinar for a dinar, and a dirham for a dirham."I said to him, "But Ibn Abbas does not say this."Abu Saeed replied, "I asked him myself. I said, 'Did you hear this from the Prophet ﷺ, or did you find it in the Book of Allah?'He answered, 'I claim neither. You know the Messenger of Allah ﷺ better than I do. But Usama informed me that the Prophet ﷺ said, "There is no riba except in credit transactions."'"

Bukhari 2178-2179

Sahih

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

أبا سعيد الخدري رضي الله عنه يقول

الدينار بالدينار والدرهم بالدرهم فقلت له فإن ابن عباس لا يقوله فقال أبو سعيد سألته فقلت سمعته من النبي ﷺ أو وجدته في كتاب الله قال كل ذلك لا أقول وأنتم أعلم برسول الله ﷺ مني ولكن أخبرني أسامة أن النبي ﷺ قال لا ربا إلا في النسيئة

البخاري 2178-2179صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sales
Chapter
Selling a dinar for a dinar on credit
Numbering
Darussalam 2178-2179
Bukhari2178 2178-2179