بُلُوغُ الْمَرَامِ
Bulugh al-Maram 1014
Marriage
وَعَنِ ابْنِ عَبَّاسٍ - رَضِيَ اَللَّهُ عَنْهُمَا- قَالَ : قَالَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -{ لَا يَنْظُرُ اَللَّهُ إِلَى رَجُلٍ أَتَى رَجُلاً أَوْ اِمْرَأَةً فِي دُبُرِهَا } رَوَاهُ اَلتِّرْمِذِيُّ , وَالنَّسَائِيُّ , وَابْنُ حِبَّانَ , وَأُعِلَّ بِالْوَقْفِ [1] .
Narrated Ibn 'Abbas (RA): Allah's Messenger (ﷺ) said: "Allah will not look at a man who has intercourse with a man or a woman through the anus." [Reported by at-Tirmidhi, an-Nasa'i and Ibn Hibban, but it was considered to be defective for being Mawquf (saying of a Companion, i.e. Ibn 'Abbas)].
Sunnah.com reference: Book 8, Hadith 57