It is narrated from al-Qasim bin Muhammad that Sayyidah Aishah (may Allah be pleased with her) said that the Messenger of Allah (peace and blessings be upon him) said: "For a woman to pray in her room is better than praying in her hujrah; for a woman to pray in her hujrah is better than praying in the open part of the house; and if she prays in the house, that is better than praying in the mosque."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5365
Hadith Gradingمحدثین:صحيح لغيرهٖ
Hadith Takhrij«صحيح لغيرهٖ۔ بخاري في تاريخه 8/265»