Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:14445Abū ʿAbdullāh al-Ḥāfiẓ And ʾAbū Saʿīd b. Abū ʿAmr > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Ibrāhīm b. Marzūq > ʿUbaydullāh b. ʿAbd al-Majīd > Jarīr b. Ḥāzim > ʿĪsá b. ʿĀṣim > Shurayḥ > Saʾalanī ʿAlī > al--Adhī Biyadih ʿUqdah al-Nikāḥ > al-Walī

[Machine] No, but he is the husband.  

البيهقي:١٤٤٤٥أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو قَالَا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا إِبْرَاهِيمُ بْنُ مَرْزُوقٍ ثنا عُبَيْدُ اللهِ بْنُ عَبْدِ الْمَجِيدِ ثنا جَرِيرُ بْنُ حَازِمٍ ثنا عِيسَى بْنُ عَاصِمٍ عَنْ شُرَيْحٍ قَالَ سَأَلَنِي عَلِيٌّ ؓ عَنِ الَّذِي بِيَدِهِ عُقْدَةُ النِّكَاحِ قَالَ قُلْتُ هُوَ الْوَلِيُّ قَالَ

لَا بَلْ هُوَ الزَّوْجُ