Sahih Muslim, Book 22, Hadith 131 (Muslim 4054)

'Abdullah (b. Mas'ud) (Allah be pleased with him) said that Allah's Messenger (ﷺ) cursed the one who accepted interest and the one who paid it I asked about the one who recorded it, and two witnesses to it. He (the narrator) said:

We narrate what we have heard.