Praise be to Allah.
This action is reprehensible, and it is a myth that has no basis. It is not permissible to do this, rather you should refrain from it and warn others against it. The idea that it will protect the girl’s virginity is false and comes from the Shaytaan; it has no basis in pure sharee’ah. So we must advise people not to do this and warn them against it. The scholars must explain that and warn against it, because they are the one who convey knowledge from Allaah and from the Messenger of Allaah (peace and blessings of Allaah be upon him). And Allaah is the One Whose help we seek.