"My husband died in Al-Qadum, so I went to the Prophet and told him that our house was remote." He gave her permission then he called her back and said: "Stay in your house for four months and ten days, until the term prescribed is fulfilled."
Sunan an-Nasa'i Book 27, Hadith 144