He heard Abu Saeed Khudri say, "I said to Ibn Abbas, 'Tell me about this view you hold. Is it something you found in the Book of Allah , or something you heard from the Messenger of Allah ﷺ?'Ibn Abbas replied, 'I did not find it in the Book of Allah
, nor did I hear it from the Messenger of Allah ﷺ. But Usama bin Zayd informed me that the Messenger of Allah ﷺ said, "Riba occurs only in deferred transactions."'"
أخبرنا قتيبة بن سعيد قال حدثنا سفيان عن عمرو
سمع أبا سعيد الخدري يقول قلت لابن عباس أرأيت هذا الذي تقول أشيئا وجدته في كتاب الله عز وجل أو شيئا سمعته من رسول الله ﷺ قال ما وجدته في كتاب الله عز وجل ولا سمعته من رسول الله ﷺ ولكن أسامة بن زيد أخبرني أن رسول الله ﷺ قال إنما الربا في النسيئة
Muslim narrated it, no. 101/1596, from the hadith of Sufyan bin Uyayna, see the previous hadith, and Bukhari, in the Book of Sales, chapter on selling a dinar for a dinar on credit, no. 2178, 2179, from the hadith of Amr bin Dinar with the same wording, and it is in Kubra, no. 6173.