He fell into the trap of visiting chat sites and talking to girls, but has now repented
We praise Allaah for having enabled you to repent, and we ask Allaah to make you steadfast in adhering to the truth and the right path. May He guide young Muslim men and women to guard their religious commitment and their honour.
You should note that it is not permissible for men to start such websites or to visit them. The owner of this site is one of those who are addressed by the warning in the verse (interpretation of the meaning):
“Verily, those who like that (the crime of) illegal sexual intercourse should be propagated among those who believe, they will have a painful torment in this world and in the Hereafter”
[al-Noor 24:19]
Indeed he is more deserving of this warning, because the warning in this verse was addressed to those who like immorality to be propagated, so how about one who actually works to make that happen and become widespread?
This is the way that is known to end in what we see and hear and read about those who use these means to approach the opposite sex. How many men have lost their religious commitment and how many women have lost their honour? Some of them have found no other way but suicide to escape from the dark tunnel that they got into because of corresponding and speaking to non-mahrams.
We have already discussed the ruling on corresponding and speaking to non-mahrams. Please see the answers to questions no. 22101, 26890, 23349and 10221.
And Allaah knows best.