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.
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صلى الله عَلَيْهِ وَسلم: «لَا تزوج الْمَرْأَة الْمَرْأَةَ وَلَا تُزَوِّجُ الْمَرْأَةُ نَفْسَهَا فَإِنَّ الزَّانِيَةَ هِيَ الَّتِي تُزَوِّجُ نَفْسَهَا» . رَوَاهُ ابْنُ مَاجَهْ
Abu Huraira reported God's Messenger as saying, “A woman may not give a woman in marriage, nor may she give herself in marriage, for the immoral woman is the one who gives herself in marriage.”
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.