مُوَطَّأُ مَالِكٍ
Muwatta Malik 469
The Qibla
حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، أَنَّهُ بَلَغَهُ عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّهُ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم لاَ تَمْنَعُوا إِمَاءَ اللَّهِ مَسَاجِدَ اللَّهِ .
Yahya related to me from Malik that he had heard that Abdullah ibn Umar said, "The Messenger of Allah, (ﷺ), said, 'Do not forbid the female slaves of Allah from (going into) the mosques of Allah.' "
Arabic/English book reference: Book 14, Hadith 12