(30) باب خُرُوجِ النِّسَاءِ إِلَى الْمَسَاجِدِ إِذَا لَمْ يَتَرَتَّبْ عَلَيْهِ فِتْنَةٌ وَأَنَّهَا لاَ تَخْرُجُ مُطَيَّبَةً
A hadith like this has been narrated by A'mash with the same chain of transmitters.
Reference: Sahih Muslim 442 f
In-book reference: Book 4, Hadith 155
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 889