Jami` at-Tirmidhi, Book 6, Hadith 27 (In-Book)

Mujahid narrated: "We were with Ibn Umar, and he said: 'The Messenger of Allah said: "Permit the women to go at night to the Masajid." His son said: 'By Allah! We would not permit them lest they become insidious from that.' So he (Abdullah) retorted: 'May Allah do and such with you.' I say: "The Messenger of Allah said," and you say: "We do not permit them?"

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

sunnah.com