Ibn Sirin (may Allah have mercy on him) said that a man said to Sayyiduna Ibn Mas'ud (may Allah be pleased with him): I borrowed five hundred from a man on the condition that I lend him my horse to ride. Sayyiduna Abdullah (may Allah be pleased with him) said: Whatever benefit he gets from it is usury (riba).
Ibn Sirin's narration from Abdullah is munqati' (its chain is broken).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 10938