Muhammad said , women should pray at home , not at the mosque . Muhammad thought women should not be forbidden in mosques . Traditionalists try to argue that Muhammad preferred women to pray at home rather than at a mosque , and they cite a hadith in which Muhammad supposedly said : `` The best mosques for women are the inner parts of their houses , '' although , interestingly , women were active participants in the mosque started by Muhammad .