Among the Jews, when a woman was menstruating, they would not eat with her and would not live with such women in their houses. The companions of the Prophet ﷺ asked the Prophet ﷺ about this, and Allah Almighty revealed, "They ask you about menstruation. Say, it is a discomfort, so keep away from women during menstruation" [Baqarah 2:222] to the end of the verse.The Messenger of Allah ﷺ then said, "Do everything except intercourse."Word of this reached the Jews, and they said, "This man does not want to leave anything of our practice without opposing us in it."Then Usayd bin Hudayr and Abbad bin Bishr came and said, "Messenger of Allah, the Jews are saying such and such. Should we not then have intercourse with them?"The face of the Messenger of Allah ﷺ changed so much that we thought he had become angry with the two of them. They left, and on their way a gift of milk was being brought to the Prophet ﷺ. He sent someone after them and gave them the milk to drink, and so they knew that he was not angry with them.
أن اليهود كانوا إذا حاضت المرأة فيهم لم يؤاكلوها ولم يجامعوهن في البيوت، فسأل أصحاب النبي ﷺ النبي ﷺ، فأنزل الله تعالى: {ويسألونك عن المحيض قل هو أذى فاعتزلوا النساء في المحيض} إلى آخر الاية [البقرة: ٢٢٢] فقال رسول الله ﷺ: اصنعوا كل شيء إلا النكاح. فبلغ ذلك اليهود فقالوا: ما يريد هذا الرجل أن يدع من أمرنا شيئا إلا خالفنا فيه. فجاء أسيد بن حضير وعباد بن بشر فقالا: يا رسول الله! إن اليهود تقول: كذا وكذا؛ أفلا نجامعهن؟ فتغير وجه رسول الله ﷺ حتى ظننا أن قد وجد عليهما، فخرجا فاستقبلهما هدية من لبن إلى النبي ﷺ، فأرسل في آثار هما فسقاهما، فعرفا أن لم يجد عليهما.
Muslim reported it in the Book of Menstruation (302) via the route of Ibn Mahdi, who said, Hammad bin Salama narrated to us, Thabit narrated to us, from Anas, and he related it."Marriage" here carries the meaning of intercourse, as is explicitly stated in Sunan Nasai (1/152).Among the corroborating narrations is the hadith of Abdullah bin Saad Ansari in Sunan Abu Dawud (212). He asked the Messenger of Allah ﷺ, "What is permissible for me from my wife while she is menstruating?" He said, "What is above the waist wrap is permissible for you." He also mentioned eating with a menstruating woman and performing wudu after emitting madhi. See "Chapter on Wudu after Madhi" and "Chapter on Eating with a Menstruating Woman." For more, see Minna Kubra (1/217).