"I came to the Prophet and mentioned moving to (join) my family." She told him about her situation. She said: "He allowed me, then, when I turned to leave, he called me back and said: 'Stay with your family until the term prescribed is fulfilled.'"
Sunan an-Nasa'i Book 27, Hadith 142