When I had free time I would love to read, but due to COVID I can't access any 'real' library books, so I just started reading online books. After some time in reading though I started reading characters having sex, I didn't know what it was at first but after some research I started to realize what is it. I try not to read but it's just so addicting, I really am trying to stop because I don't know if it's haram and I want to stop but I just can't. Every time I try blocking that book it comes back into my mind and I read it again. After I read it I feel regret and ask for forgiveness. I always wish I hadn't read it but once again it'll come into my mind and I'll read it and therefore the cycle restarts. I don't know if it's good or bad and I don't know how to stop. What should I do?
وعن أبي هريرة رضي الله عنه أن النبي صلى الله عليه وسلم قال:
كُتب على ابن آدم نصيبه من الزنا مدرك ذلك لا محالة: العينان زناهما النظر، والأذنان زناهما الاستماع، واللسان زناه الكلام، واليد زناها البطش، والرجل زناها الخطا، والقلب يهوى ويتمنى، ويصدق ذلك الفرج أو يكذبه"
((متفق عليه وهذا لفظ مسلم، ورواية البخاري مختصرة))
Abu Hurairah (May Allah be pleased with him) said:
The Prophet (ﷺ) said, "Allah has written the very portion of Zina which a man will indulge in. There will be no escape from it. The Zina of the eye is the (lustful) look, the Zina of the ears is the listening (to voluptuous songs or talk), the Zina of the tongue is (the licentious) speech, the Zina of the hand is the (lustful) grip, the Zina of the feet is the walking (to the place where he intends to commit Zina), the heart yearns and desires and the private parts approve all that or disapprove it."
[Al-Bukhari and Muslim].
This is the wording in Muslim; Al-Bukhari wording is a bit short.
Sunnah.com : Book 18, Hadith 112 Arabic/English book : Book 18, Hadith 1622 Riyad us Saliheen
Never go near this as it can lead you to zina which is an major sin.do act which Allah love e.g prayer fasting Hadith
حَدَّثَنَا عَبْدَانُ، عَنْ أَبِي حَمْزَةَ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ، عَنْ عَلْقَمَةَ، قَالَ بَيْنَا أَنَا أَمْشِي، مَعَ عَبْدِ اللَّهِ ـ رضى الله عنه ـ فَقَالَ كُنَّا مَعَ النَّبِيِّ صلى الله عليه وسلم فَقَالَ
مَنِ اسْتَطَاعَ الْبَاءَةَ فَلْيَتَزَوَّجْ، فَإِنَّهُ أَغَضُّ لِلْبَصَرِ وَأَحْصَنُ لِلْفَرْجِ، وَمَنْ لَمْ يَسْتَطِعْ فَعَلَيْهِ بِالصَّوْمِ، فَإِنَّهُ لَهُ وِجَاءٌ "
While I was walking with `Abdullah he said, "We were in the company of the Prophet (ﷺ) and he said, 'He who can afford to marry should marry, because it will help him refrain from looking at other women, and save his private parts from committing illegal sexual relation; and he who cannot afford to marry is advised to fast, as fasting will diminish his sexual power."
Sahih al-Bukhari 1905 In-book : Book 30, Hadith 15 USC-MSA web (English) : Vol. 3, Book 31, Hadith 129 (deprecated) Sahih Bukhari
Indulge in dhikr . there are many differnt dhikrs e.g for evening and morning which will rise our level in paradise.