Original: Muhammad preferred women to pray at home rather than at a mosque, and according to the hadith Muhammad said: "The best mosques for women are the inner parts of their houses", although Muhammad told Muslims not to forbid women from entering mosques.
Simplified: Muhammad said, women should pray at home, not at the mosque.