The Messenger of Allah ﷺ went out to the prayer ground on either Eid al-Adha or Eid al-Fitr. He passed by the women and said, "Women, give in charity, for I have been shown that you make up the majority of the people of the Fire."They asked, "Why is that, Messenger of Allah?"He replied, "You curse frequently and are ungrateful to your husbands. I have not seen anyone more capable of leading astray a sensible man than one of you, despite your deficiency in reason and religion."They asked, "What is the deficiency in our reason and religion, Messenger of Allah?"He answered, "Is not the testimony of a woman equal to half the testimony of a man?"They said, "Yes."He said, "That reflects the deficiency in her reason. And when she menstruates, does she not refrain from praying and fasting?"They said, "Yes."He said, "That reflects the deficiency in her religion."
خرج رسول الله ﷺ في أضحى أو فطر إلى المصلى، فمر على النساء فقال: يا معشر النساء تصدقن، فإني أريتكن أكثر أهل النار، فقلن: وبم يا رسول الله؟ قال: تكثرن اللعن، وتكفرن العشير، ما رأيت من ناقصات عقل ودين أذهب لذي الرجل الحازم من إحداكن… قلن: وما نقصان ديننا وعقلنا يا رسول الله؟ قال: أليس شهادة المرأة مثل نصف شهادة الرجل؟ قال: بلى، قال: فذلك من نقصان عقلها، أليس إذا حاضت لم تصل ولم تصم؟ قلن: بلى، قال: فذلك من نقصان دينها.
Bukhari related it in the Book of Menstruation (304), from Saeed bin Abu Maryam, "Muhammad bin Jafar informed us," he said, "Zayd, that is, Ibn Aslam, informed me, from Iyad bin Abdullah, from Abu Saeed Khudri," then he related the hadith.Muslim related it in the Book of Faith (80) through several routes, from Ibn Abu Maryam, "Muhammad bin Jafar narrated to us," with the same chain of transmission, except that he did not give the actual wording of the hadith, but instead referred to the meaning of the hadith of Ibn Umar that follows.