Peace be upon you. It is required for a man to obtain the consent of the girl's father or paternal grandfather if she is not independent in her affairs. It is also recommended to seek permission from one of them if she is independent. According to Ayatollah Sistani, the marriage of a virgin without the permission of her father or grandfather is invalid. Ayatollah Khamenei emphasizes that it is obligatory to seek permission from her father or grandfather, and the contract is not valid without their consent. Ayatollah Wahid Khorasani states that the permission of the guardian, which is the father or paternal grandfather, is necessary for marrying a virgin. Ayatollah Zanjani asserts that marrying a virgin without the permission of her father or grandfather is invalid. Ayatollah Fayyad mentions that a temporary marriage contract with a virgin is not permissible without the father's or grandfather's consent, even if there is no intention of consummation. Ayatollah Makarem Shirazi states that a virgin must seek permission from her father or grandfather for both permanent and temporary marriages, with the only exception being if they prevent her from marrying a suitable partner. May you be successful in all good things.