Hadith 1615
`Abdullah bin Mas`ud (May Allah be pleased with him) reported:
وعن ابن مسعود رضي الله عنه قال: " لعن رسول الله صلى الله عليه وسلم آكل الربا وموكله" ((رواه مسلم)). زاد الترمذي وغيره: وشاهديه، وكاتبه
The Messenger of Allah (ﷺ) cursed the one who accepts Ar-Riba (the usury) and the one who pays it. [Muslim]. The narration in At-Tirmidhi adds: And the one who records it, and the two persons who stand witness to it.
In plain words
The Prophet (peace be upon him) called down a curse on the one who takes interest and the one who pays it, and another wording adds the one who records it and the two witnesses. Everyone who knowingly takes part in a usurious deal shares the blame.
Reference : Riyad as-Salihin 1615 In-book reference : Book 17, Hadith 105