Scriptural basis
Hudud offenses with prescribed punishments are mentioned in the Quran. The punishments for these offenses are drawn from both the Quran and the Sunnah. The Quran does not define the offenses precisely: their definitions were elaborated in fiqh (Islamic jurisprudence).
Hududullah, or the “limits of God”, is a phrase found several times in the Quran, but not as a label for a particular type of crime. The Quran warns Muslims of the sin of transgressing the limits, which should not even be approached (Quran 2:187). But nowhere does the phrase appear in the clear context of labeling certain crimes (see Quran, 2:229, 4:14, 58:4, 65:1), though 4:14 is followed by discussion of sexual impropriety.[22]
https://en.wikipedia.org/wiki/Hudud
Exactly! 👍