Marriage is forbidden while in the state of ihram
It is narrated from Uthman (may Allah be pleased with him) that the Messenger of Allah ﷺ said:
لا ينكح المحرم ولا ينكح ولا يخطب
“A man in the state of ihram must neither marry himself, nor conduct the marriage of another, nor send a proposal of marriage.”
[Sahih: Irwa al-Ghalil: 1888, Muslim: 2522, Kitab al-Nikah: Bab Tahrim Nikah al-Muhrim]