Hadithcore
Hadith #2112620

Narrated Abu Hurairah (RA):

Allah's Messenger (ﷺ) said: "He who has intercourse with a woman through her anus is accursed." [Abu Dawud and an-Nasa'i reported it and the wording is his (an-Nasa'i). Its narrators are reliable, but it was considered to be defective for being Mursal (a missing link after the Tabi'i)].

عَنْ أَبِي هُرَيْرَةَ ‏- رضى الله عنه ‏- قَالَ : قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ مَلْعُونٌ مَنْ أَتَى اِمْرَأَةً فِي دُبُرِهَا } رَوَاهُ أَبُو دَاوُدَ , وَالنَّسَائِيُّ وَاللَّفْظُ لَهُ , وَرِجَالُهُ ثِقَاتٌ , وَلَكِنْ أُعِلَّ بِالْإِرْسَالِ [1]‏ .‏

References2 variants
Sunnah.com reference
Book 8, Hadith 56
Arabic/English book reference
Book 8, Hadith 1023