Hazrat Jabir bin Zaid (may Allah have mercy on him) said: "If a man stipulates with a woman that she will remain in his house, then the marriage of the woman in exchange for this condition will be permissible."
Hadith Referenceسنن سعید بن منصور / كتاب النكاح / 1837
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 660، وابن أبى شيبة فى «مصنفه» برقم: 16710»