Abu Huraira reported God’s Messenger as saying, “An orphan girl should be consulted about herself; if she says nothing that indicates her permission, but if she refuses, the authority of the guardian cannot be exercised against her will.”
Tirmidhi, Abu Dawud and Nasa’i transmitted it, and Darimi transmitted it on the authority of Abu Musa.
Ibn ‘Abbas told that a virgin came to God’s Messenger and mentioned that her father had married her against her will, so the Prophet allowed her to exercise her choice.
Ibn ‘Abbas reported the Prophet as saying, ‘Adulteresses are those women who marry themselves without evidence.” The soundest view is that it does not go back farther than Ibn ‘Abbas.