Question 015: According to some hadith, it is recommended for a woman to pray in her home as well as there are rewards for participation in congregational prayer. A wife in Islam is suppose to obey her husband except if he is asking something that is contrary to the teachings of Islam.
Do the rewards for congregational prayer only apply for men since there are hadith that say the best place to pray for a woman is at home? Does a husband have the right to tell his wife that she has to stay at home and pray, since a wife has to gain the permission of her husband to leave the home? If the wife is not permitted to leave the home to participate in congregational prayer, does she get the rewards equal to what the men get when they go to the mosque for congregational prayer, since it has been recommended by hadith for her to do so? If a wife is given permission to participate in congregational prayer will her rewards be less than if she were to pray at home?
Answer 015: The man has certain rights over his wife. One of those rights is that she must obey him. The woman has the responsibility toward her husband not to go out of his home without his permission. If both the man and woman understand, trust, love and believe each other, the man should let her go to offer her prayers at a mosque.
There are two different opinions, according to the Holy Qur’an and traditions:
- The best place to pray for a woman is at home
- Women are allowed to pray at mosque
The Holy Qur’an: “And stay quietly in your houses, and make not a dazzling display, like that of the former Times of Ignorance.” 
So, the best place to pray for women is at her house. 
“O Prophet! Tell thy wives and daughters, and the believing women, that they should cast their outer garments over their persons (when out of doors that is most convenient, that they should be known as such and not molested). And Allah is Oft-Forgiving, Most Merciful.” 
So, Islam has ordered women to have hijab in order to be protected.
Ahadith: The Holy Prophet (pbuh) and Imam Sadiq (as) says: a woman who prays at home will get equal reward as praying at a mosque. They also say: if a woman prays at her house she will get more rewards than praying at other places. 
According to some scholars, it is recommended for a woman to take part in social activities and offer her prayers at mosque which is one of the best recommended act in Islam.
The Holy Prophet (pbuh), Imam Hasan, Imam Sadiq (pbuth) say: Offer your prayers at mosques. The Holy Prophet (pbuh) and the Imams (pbuth) didn’t say only men are allowed to pray at a mosque, so women can offer their prayers at mosque too.
The believing women offered their prayers with the Holy Prophet (pbuh). 
The Holy Prophet (pbuh) recommended that men should not prevent your wives from going to the mosques. 
Sayyid Sistani (ha) says: It is recommended for women to attend congregational prayers as evidenced by an authentic tradition from the Commander of the Faithful, Ali (AS) that women used to attend congregational prayers but they were ordered to linger their sajda (prostration) because some men were wearing tight garments but there is another authentic tradition which says that a woman’s prayer at home is more virtuous than her prayer in a mosque. However, the conclusion that can be drawn from both traditions is that a woman’s prayer at a place where she is not seen by non-mahram men (strangers) is more virtuous. If she can perform her prayers in a mosque without being seen by strangers, the prayer in a mosque would be more virtuous in that case. God knows best.
In conclusion, if her husband allow her pray at mosque she will get the rewards, if not and she offers her prayers at home she will receive the same rewards. In sha Allah.
For further information in this regards, please read the following answers:
Index: Philosophy of Hijab during prayer, answer 020.
Index: Men and Women: Covering body in prayers, answer 594.
 . Surah Ahzab, verse 33.
 . Sayyid Quṭb, In Tafsir Fi Zilal Al-Quran, Vol. 5. Pg. 2859.
 . Surah Ahzab, verse 59.
 . Wasaiel al-Shia, Vol. 5, Pg. 237, Allamah Majlesi, Bihar al-Anwar, Vol. 80, Pg. 371; Sheikh Saduq, Man la yahduruhu al-Faqih, Vol. 1, Pg. 374, H 1088; Abul Qasim Payandeh, Nahjul Fasahah, Pg. 474, H 1532.
 . Kanz al-Ummal, Vol. 7, Pg. 650, Mustadrakul Wasail, Vol. 3, Pg. 554&659, H 785; Nahjul Fasaha, Pg. 596, H 3083; Mustadrakul Wasail, Vol. 7, Pg. 659.
 . Sunan Ibn Majeh, Vol.1, Pg. 137, H 565 & 566, Sheikh Ali Namzi Shahroodi, Mustadrak Safinatul Bihar, Vol.1, Pg. 209.
 . Sunan Abu Dawood, Vol. 1, Pg. 155, H 565, 566, 567 & 568; Kanz al-Ummal, Vol. 11, Pg. 677, H 20872.
 . The official website of the office of Sayyid Sistani (ha), Q&A: Mass Prayer.