Hadithcore
Mishkat al-Masabih, 3193

Abu Huraira reported God’s Messenger as saying, “He who has intercourse with his wife through her anus is accursed.” Ahmad and Abu Dawud transmitted it.

وَعَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَلْعُونٌ مَنْ أَتَى امْرَأَتَهُ فِي دُبُرِهَا» . رَوَاهُ أَحْمَدُ وَأَبُو دَاوُدَ

References1 variant
In-Book Reference
Book 13, Hadith 111