Yahya related to me from Malik from Nafi that Abdullan ibn Umar said, "The only place a woman whose husband has died and a woman who is absolutely divorced can spend the night is in their houses."
Muwatta Malik Book 29, Hadith 100