Ayesha reported,

The Messenger of Allah ﷺ said, "Any woman who marries without her guardian's consent, her marriage is invalid, her marriage is invalid, her marriage is invalid. If the man has consummated the marriage with her, she is entitled to her dowry for what he has taken from her. If they dispute, then the ruler is the guardian of whoever has no guardian."

Ibn Majah 1879

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا معاذ بن معاذ حدثنا ابن جريج عن سليمان بن موسى عن الزهري عن عروة

عن عائشة قالت

قال رسول الله ﷺ أيما امرأة لم ينكحها الولي فنكاحها باطل فنكاحها باطل فنكاحها باطل فإن أصابها فلها مهرها بما أصاب منها فإن اشتجروا فالسلطان ولي من لا ولي له

ابن ماجه 1879صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Marriage
Chapter
Marriage is not valid except with a guardian
Numbering
Darussalam 1879
Ibn Majah 1879