حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، أَنَّهُ بَلَغَهُ عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّهُ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ لاَ تَمْنَعُوا إِمَاءَ اللَّهِ مَسَاجِدَ اللَّهِ ‏"‏ ‏.‏

Yahya related to me from Malik that he had heard that Abdullahibn Umar said, "The Messenger of Allah, may Allah bless him and granthim peace, said, 'Do not forbid the female slaves of Allah from (goinginto) the mosques of Allah.' " Translation Not Available

Book Ref: Muwatta Imam Malik Book 14 Hadith 469
Web Ref:  Muwatta Imam Malik Book 14 Hadith 12