It is narrated from Hazrat Sa'id bin al-Musayyib (may Allah have mercy on him) that when a person gives his wife her house as a condition, he can take her wherever he wishes.
Hadith Referenceسنن سعید بن منصور / كتاب النكاح / 1838
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 661، والبيهقي فى«سننه الكبير» برقم: 14552، وابن أبى شيبة فى «مصنفه» برقم: 16714»