In Islam,
A virgin is a woman who has never been married before, either she have had sex or not, Islam cares not when it comes to marriage. In Islamic marriage contracts, we have Bikr and Thaib meaning a virgin and someone who is married, so if she’s not married, Islam refers to her as virgin.
In Islam, you have no right to ask a woman if she’s a virgin or not, long as she has never been married before, she’s a virgin, that’s what Islam calls her. Then as a Muslim man, if you now ask a woman either she’s a virgin or not, and she tells you she’s not a virgin, you’ve sinned, because you’ve made her expose a sin she committed that Allah has conceal.
I just learnt this and I can’t but pounder on it and see how much Allah loves and honor women.