Sure Al-Israa

17:32

وَلَا تَقْرَبُوا۟ ٱلزِّنَىٰٓ ۖ إِنَّهُۥ كَانَ فَٰحِشَةًۭ وَسَآءَ سَبِيلًۭا

Und nähert euch nicht der Unzucht. Gewiß, sie ist etwas Abscheuliches - und wie böse ist der Weg.

Tafsir 17:32

Be careful of fornication and avoid things that prompt it. It is extremely detestable and bad path to traverse as it leads to the mixing of lineages and punishment from Allah.