Hadithcore
Hadith #2112410

Narrated Ibn Mas'ud (RA):

Allah's Messenger (ﷺ) cursed the man who made a woman lawful for her first husband and the one for whom she was made lawful (the men involved in Halalah). [Reported by Ahmad, an-Nasa'i and at-Tirmidhi; the latter declared it to be Sahih (authentic)].

وَعَنِ ابْنِ مَسْعُودٍ ‏- رضى الله عنه ‏- قَالَ : { لَعَنَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-اَلْمُحَلِّلَ وَالْمُحَلَّلَ لَهُ } رَوَاهُ أَحْمَدُ , وَالنَّسَائِيُّ , وَاَلتِّرْمِذِيُّ وَصَحَّحَهُ [1]‏ .‏

References2 variants
Sunnah.com reference
Book 8, Hadith 35
Arabic/English book reference
Book 8, Hadith 1005