Yes it is. read your quran or ask
@Khalid Hussein
In surah an nur ayah 2
الزَّانِيَةُ وَالزَّانِي فَاجْلِدُوا كُلَّ وَاحِدٍ مِّنْهُمَا مِائَةَ جَلْدَةٍ ۖ وَلَا تَأْخُذْكُم بِهِمَا رَأْفَةٌ فِي دِينِ اللَّهِ إِن كُنتُمْ تُؤْمِنُونَ بِاللَّهِ وَالْيَوْمِ الْآخِرِ ۖ وَلْيَشْهَدْ عَذَابَهُمَا طَائِفَةٌ مِّنَ الْمُؤْمِنِينَ
The [unmarried] woman or [unmarried] man found guilty of sexual intercourse - lash each one of them with a hundred lashes, and do not be taken by pity for them in the religion of Allah, if you should believe in Allah and the Last Day. And let a group of the believers witness their punishment.
This for the unmarried people with 4 witnesses
But the married people according a hadith
Narrated Abu Huraira: A man from Bani Aslam came to Allah's Apostle while he was in the mosque and called (the Prophet ) saying, "O Allah's Apostle! I have committed illegal sexual intercourse." On that the Prophet turned his face from him to the other side, whereupon the man moved to the side towards which the Prophet had turned his face, and said, "O Allah's Apostle! I have committed illegal sexual intercourse." The Prophet turned his face (from him) to the other side whereupon the man moved to the side towards which the Prophet had turned his face, and repeated his statement. The Prophet turned his face (from him) to the other side again. The man moved again (and repeated his statement) for the fourth time. So when the man had given witness four times against himself, the Prophet called him and said, "Are you insane?" He replied, "No." The Prophet then said (to his companions), "Go and stone him to death." The man was a married one. Jabir bin 'Abdullah Al-Ansari said: I was one of those who stoned him. We stoned him at the Musalla ('Id praying place) in Medina. When the stones hit him with their sharp edges, he fled, but we caught him at Al-Harra and stoned him till he died.
Sahih al-Bukhari,
7:63:196 Sahih al-Bukhari,
2:23:413 Sahih al-Bukhari,
3:34:421 Sahih al-Bukhari,
3:49:860 Sahih al-Bukhari,
3:50:885 Sahih al-Bukhari,
4:56:829 Sahih al-Bukhari,
6:60:79 Sahih al-Bukhari,
7:63:195
I imagine cheating your wife with a different lady, you deserve to die.
If you are not married and done sex and have 4 witnesses
You get 100 lashes
So you can not get punished in the day of judgement.
If you are married and done sex with a different lady other than your wife and have 4 witnesses
You have to be stone to death so you don'the get punished in the day of judgement.