Guys im really worried so a while ago I talked to an anonymous person on the internet and they may have committed shirk because of something I said but I only really thought about it now. I heard that in this situation I would carry the sin too but I don’t know who the person was because it was completely anonymous. If I repent and don’t do that again, is it possible that I could still be forgiven even if the person continues their sin? I really dont wanna be in hell forever because of this I don’t know what to do im really scared right now.
Allah forgives all your sins so long as you are remorseful and regret what you have done.
The only way you'll be held accountable would be if you continued your connection with this person. As long as you cut your ties from this person, repent sincerely and never do anything like this again, Allah will forgive you.
It wouldn't make sense for Allah to continue punishing you for what you did, because if that was the case, you would indefinitely be lead to hell. Thankfully, Allah is the most forgiving and as long as you repent sincerely, all that haram that you were previously joined with will be cut off and you will not be dragged into hell for what you have done. You're human, Allah knows that which is why he's the most merciful.
Had you died in the state of shirk, yes Allah wouldn't have forgave you.
No matter what you have done, if you really regret your sin ask Allah swt for firgiveness...ALLAH had promised us that he will forgive us but if we really regret that....it cant be like this....ya allah forgive me and then another day you will do the same sin that forgiveness will not be accepted by allah..but we know that Allah swt is so great and merciful inshallah he will forgive us