مشكوة المصابيح Mishkat al-Masabih كتاب النكاح The Book of Marriage
(لَنْ يَنْظُرَ اللَّهُ تَعَالَى بِرَحْمَةٍ إِلَى مَنْ يَفْعَلُ الْفُجُورَ مَعَ رَجُلٍ أَوِ امْرَأَةٍ)

(Allah Almighty will not look with mercy upon the one who commits sodomy with a man or a woman)

1 hadith
Hadith 3195
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا يَنْظُرُ اللَّهُ إِلَى رَجُلٍ أَتَى رَجُلًا أَوِ امْرَأَةً فِي الدبر» . رَوَاهُ التِّرْمِذِيّ
Ibn ‘Abbas reported God’s Messenger as saying, “God will not look at a man who has intercourse with a man or a woman through the anus.” Tirmidhi transmitted it.
Hadith Reference Mishkat al-Masabih / The Book of Marriage / Hadith: 3195
Hadith Grading الألبانی: حسن  |  زبیر علی زئی: حسن
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «حسن، رواه الترمذي (1165 وقال: حسن غريب)»