عَنِ ابْنِ عَبَّاسٍ رضي الله عنهما قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «لَا يَنْظُرُ اللهُ إِلَى رَجُلٍ أَتَى رَجُلًا أَوِ امْرَأَةً فِي دُبُرٍ».
The Prophet (may Allah's peace and blessings be upon him) clarified the severe consequences for the man who approaches a man or a woman anally, as Allah will not look with mercy upon him, and he pointed out that it is one of the major sins.
Download for free and never miss a prayer again