Sa'id bin Ubayd bin al-Sabbaq (may Allah have mercy on him) said that a man married a woman in the time of Sayyiduna Umar (may Allah be pleased with him) and stipulated for her that he would not take her away (from her home). Sayyiduna Umar (may Allah be pleased with him) cancelled that condition and said: The woman is with her husband. The opposite of this has also been reported from Sayyiduna Umar (may Allah be pleased with him).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصداق / 14437