´It was narrated from Aishah that :` the Messenger of Allah said: “Any woman whose marriage is not arranged by her guardian, her marriage is invalid, her marriage is invalid, her marriage is invalid. If (the man) has had intercourse with her, then the Mahr belongs to her in return for his intimacy with her. And if there is any dispute then the ruler is the guardian of the one who does not have a guardian.”
➊ Just as the consent of the girl is necessary in marriage, likewise the permission of her guardian (wali) is also necessary, as is indicated in hadith 1870.
➋ A marriage without the permission of the guardian (wali) is legally invalid according to the Shari‘ah; therefore, if the guardian refuses to give permission, separation will be enforced between the husband and wife.
➌ In the case where separation occurs after consummation, it is obligatory upon the man to pay the full dower (mahr).
➍ In an Islamic state, the ruler has the right to intervene in matters of marriage. Similarly, the local authorities who are deputies of the ruler also possess this right. In current circumstances, such matters are decided by the courts. This issue can also be resolved in a local council (panchayat).
➎ If a girl is orphaned and has no close relative who can look after her interests as a guardian, then in such a case, the Islamic state should assume the role of guardian.
➏ For further research and details on the issue of guardianship (wilayah) in marriage, refer to the book “Mafroor Larkiyon Ka Nikah Aur Hamari Adalatein” by Hafiz Salahuddin Yusuf rahimahullah.
Source: Commentary on Sunan Ibn Mājah by Mawlānā ‘Atā’ullāh Sājid, Page: 1879
Narrated 'Aishah (RA): Allah's Messenger (ﷺ) said: "If anyone married without the consent of her guardian, her marriage is invalid. If there is cohabitation, she is entitled to the dowry, due to the sexual intercourse made lawful with her. If there is a dispute (between her guardian), the ruler is the guardian of one who has no guardian." [Reported by al-Arba'a except an-Nasa'i. Abu 'Awanah, Ibn Hibban and al-Hakim graded it Sahih (authentic)].
➋ The Hanafis do not consider guardianship (wilayah) to be a condition at all, as long as the woman marries someone of equal status (kufu’). They have adopted this position by analogy (qiyas) with sale transactions. However, it is well known that analogy has no standing in the face of a textual proof (nass). Some of these hadiths have been subjected to undue discussion and criticism by them (the Hanafis). And some individuals, who in reality have no insight into this discipline, have raised baseless objections against these hadiths, which hold no weight.
Source: Bulugh al-Maram: Commentary by Safiur Rahman Mubarakpuri, Page: 836