Opinions please.....

Bit of an awkward (hypothetical) question but here goes.....

What are your opinions and the religious ramifications on having a child with a Muslim man if you aren't married yet? Will he be treated differently by others? I know its not 'allowed', but things happen by accident....

Thank you Xx