‘A’isha said that the Prophet married her when she was seven, she was brought to live with him when she was nine bringing her toys with her, and he died when she was eighteen.
‘A’isha reported God’s Messenger as saying, “If any woman marries without the consent of her guardian her marriage is void, her marriage is void, her marriage is void. If there is cohabitation she gets her dower for the intercourse her husband has had. If there is a dispute*, the sultan is the guardian of one who has none.”
* i.e., among guardians, Mirqat iii. 418 says that if their dispute would keep a woman from being married, they are treated as non-existent.
Ahmad, Tirmidhi, Abu Dawud, Ibn Majah and Darimi transmitted it.
Khansa’ daughter of Khidham told that when her father married her when she had previously been married and she disapproved of that, she went to God's Messenger and he revoked her marriage.
A version by Ibn Majah has “the marriage her father.”