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?