(9) باب اسْتِئْذَانِ الثَّيِّبِ فِي النِّكَاحِ بِالنُّطْقِ وَالْبِكْرِ بِالسُّكُوتِ
Abu Huraira (Allah be pleased with him) reported Allah's Messenger (ﷺ) as having said:
A woman without a husband (or divorced or a widow) must not be married until she is consulted, and a virgin must not be married until her permission is sought. They asked the Prophet of Allah (ﷺ): How her (virgin's) consent can be solicited? He (the Holy Prophet) said: That she keeps silence.
Reference: Sahih Muslim 1419 a
In-book reference: Book 16, Hadith 75
USC-MSA web (English) reference(deprecated numbering scheme): Book 8, Hadith 3303