It is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) that he said: "Any man who marries while in the state of ihram, we will separate his woman (wife) from him and we will not regard his marriage as valid." Musaddad and al-Bayhaqi recorded it with a chain whose narrators are thiqat (trustworthy).