Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:9471ʿAlī b. ʿAbd al-ʿAzīz > al-Masʿūdī > Salamah b. Kuhayl > Abū ʿAmr al-Shaybānī > ʿAbdullāh b. Masʿūd

[Machine] "And there is no deity except Him. A woman's prayer that she performs in the mosque is better for her than the prayer she performs in her house, except in the Masjid al-Haram or the Mosque of the Prophet, except for an older woman who is unable to go."  

الطبراني:٩٤٧١حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ ثنا الْمَسْعُودِيُّ عَنْ سَلَمَةَ بْنِ كُهَيْلٍ عَنْ أَبِي عَمْرٍو الشَّيْبَانِيِّ أَنَّ عَبْدَ اللهِ بْنَ مَسْعُودٍ قَالَ

«وَالَّذِي لَا إِلَهَ غَيْرُهُ مَا صَلَّتِ امْرَأَةُ صَلَاةً قَطُّ خَيْرًا لَهَا مِنْ صَلَاةٍ تُصَلِّيهَا فِي بَيْتِهَا إِلَّا أَنْ يَكُونَ الْمَسْجِدَ الْحَرَامَ أَوْ مَسْجِدَ الرَّسُولِ إِلَّا عَجُوزًا فِي مَنْقَلَيْهَا»  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:5364Abū ʿAlī al-Rūdhbārī > Ismāʿīl b. Muḥammad al-Ṣaffār > Aḥmad b. al-Walīd al-Faḥḥām > Abū al-Mundhir Ismāʿīl b. ʿUmar al-Masʿūdī > Salamah b. Kuhayl > Abū ʿAmr al-Shaybānī > ʿAbdullāh b. Masʿūd

[Machine] "And whoever there is no deity except Him, a woman's prayer in a better prayer for her than a prayer she prays in her house, except if it is in al-Haram Mosque or the Mosque of the Messenger ﷺ , except for an elderly woman in her menses. This was narrated by Ja'far ibn 'Awn and others from Mas'udi."  

البيهقي:٥٣٦٤وَأَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ إِسْمَاعِيلُ بْنُ مُحَمَّدٍ الصَّفَّارُ ثنا أَحْمَدُ بْنُ الْوَلِيدِ الْفَحَّامُ ثنا أَبُو الْمُنْذِرِ إِسْمَاعِيلُ بْنُ عُمَرَ الْمَسْعُودِيُّ عَنْ سَلَمَةَ بْنِ كُهَيْلٍ عَنْ أَبِي عَمْرٍو الشَّيْبَانِيِّ عَنْ عَبْدِ اللهِ بْنِ مَسْعُودٍ قَالَ

وَالَّذِي لَا إِلَهَ غَيْرُهُ مَا صَلَّتِ امْرَأَةٌ صَلَاةً خَيْرًا لَهَا مِنْ صَلَاةٍ تُصَلِّيهَا فِي بَيْتِهَا إِلَّا أَنْ يَكُونَ مَسْجِدَ الْحَرَامِ أَوْ مَسْجِدَ الرَّسُولِ ﷺ إِلَّا عَجُوزًا فِي مَنْقَلِهَا تَابَعَهُ جَعْفَرُ بْنُ عَوْنٍ وَغَيْرُهُ عَنِ الْمَسْعُودِيِّ