Sexually assaulted..... help ease my mind

Hi everyone,

About a month ago I was pushed in a bathroom and was sexually assaulted by some stranger. I pushed him off of me before he was able to get his penis all the way in.

About a week after that I had sex with my husband and we do the pull out method, now I’m pregnant. My husband is aware of the situation but I’m nervous that the baby might not be his. Am I thinking too much into it? I know it’s rare to get pregnant by precum I’m just going through a lot mentally.