Sunan Abi Dawud

Hadith #570

‘Abd Allah (b. Mas’ud) reported the prophet (ﷺ) as saying; it is more excellent for a woman to pray in her house than in her courtyard, and more excellent for her to pray in her private chamber than in her house