Abu Amr al-Shaybani reported: Ibn Mas’ud, may Allah be pleased with him, said, “No woman performs prayer in a better place than her house, except if it is at the Sacred Mosque or the Mosque of the Prophet, peace and blessings be upon him.”
Source: al-Mu’jam al-Kabīr lil-Ṭabarānī 9472
Grade: Rijal al-Sahih (narrators are reliable) according to Al-Haythami
عَنْ أَبِي عَمْرٍو الشَّيْبَانِيِّ عَنِ ابْنِ مَسْعُودٍ رضي الله عنه قَالَ مَا صَلَّتِ الْمَرْأَةُ فِي مَكَانٍ خَيْرٌ لَهَا مِنْ بَيْتِهَا إِلَّا أَنْ يَكُونَ الْمَسْجِدَ الْحَرَامَ أَوْ مَسْجِدَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ
9/293 المعجم الكبير للطبراني
2/35 المحدث الهيثمي خلاصة حكم المحدث رجاله رجال الصحيح في مجمع الزوائد