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.
ibnmajah:16Muḥammad b. Yaḥyá al-Naysābūrī > ʿAbd al-Razzāq > Maʿmar > al-Zuhrī > Sālim > Ibn ʿUmar

The Messenger of Allah ﷺ said:" Do not prevent the female slaves of Allah from praying in the mosque." A son of his said: We will indeed prevent them!" He got very angry and said: "I tell you a Hadith from the Messenger of Allah ﷺ and you say, we will indeed prevent them?!"  

ابن ماجة:١٦حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى النَّيْسَابُورِيُّ حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَنْبَأَنَا مَعْمَرٌ عَنِ الزُّهْرِيِّ عَنْ سَالِمٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لاَ تَمْنَعُوا إِمَاءَ اللَّهِ أَنْ يُصَلِّينَ فِي الْمَسْجِدِ فَقَالَ ابْنٌ لَهُ إِنَّا لَنَمْنَعُهُنَّ فَقَالَ فَغَضِبَ غَضَبًا شَدِيدًا وَقَالَ إِنِّي أُحَدِّثُكَ عَنْ رَسُولِ اللَّهِ ﷺ وَإِنَّكَ تَقُولُ إِنَّا لَنَمْنَعُهُنَّ