Praise be to Allaah.
It is not one of the essential parts or conditions of marriage that correct names be used; rather it is sufficient to specify the woman to whom marriage is proposed and with whom the marriage contract is done. If there is some error in the name or a false name is given, that does not affect the validity of the marriage.
It says in al-Sharh al-Mumtiâ by Shaykh Ibn âUthaymeen (49, 48, 12), in a discussion on the conditions of marriage:
Specifying the partners: because the marriage contract has to do specifically with them, the husband and wife. It is a serious matter on which rulings on lineage, inheritance and rights depend. Hence it is essential to specify who the partners are. It is not acceptable to say âI give my daughter in marriage to one of your sonsâ or âI give my daughter in marriage to one of these two men: of âI give my daughter in marriage to a student in the college.â Rather it is essential to be specific. And it is also essential to be specific with regard to the wife, and say (for example): âI give you my daughter in marriage.â
There are several ways of specifying:
(i) By pointing and saying âI give this daughter of mine to you in marriage,â and (the groom) says, âI accept.â
(ii) By naming her, such as saying âI give my daughter Faatimah to you in marriage,â and he has no other daughter by this name.
(iii) By mentioning her with some distinguishing characteristic, such as saying, âMy daughter who completed grade ten this yearâ or âMy tall/short/fair/dark/blind daughterâ and so on
(iv) By mentioning some real fact, such as saying âI give my daughter to you in marriage,â when he has no other daughter.
So in terms of validity, the marriage is valid.
But what this woman did is something that is haraam and there is no difference of scholarly opinion with regard to that. For a Muslim to attribute himself to someone other than his father is something that the scholars regard as a major sin, because of the stern warnings that are narrated concerning it. This has been discussed previously in the answers to questions no. 638 and 1942.
What she has to do is repent from that action of hers and correct her name. She should fear Allah when speaking and not speak anything but the truth, for speech may lead to Paradise or to Hell. The Muslim has to strive when speaking to seek the truth, justice, honesty and fairness.
And Allah knows best.