‘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
Hadith No. 570
Sunan Abu Dawud
Gradings:
Al-Albani:
Sahih
Muhammad Muhyi Al-Din Abdul Hamid:
Sahih
Zubair Ali Zai:
Daif