Sayyiduna Abdullah bin Sa'd (may Allah be pleased with him) narrates that I asked the Messenger of Allah (peace and blessings be upon him) about eating with a menstruating woman, and he (peace and blessings be upon him) said: "I do eat with her while she is menstruating."
Imam Ahmad (may Allah have mercy on him) also narrated this hadith through Abd al-Rahman bin Mahdi (may Allah have mercy on him), from Mu'awiyah, from Haram bin Mu'awiyah, from his paternal uncle, who said: "I asked the Messenger of Allah (peace and blessings be upon him) about eating with a menstruating woman, and he (peace and blessings be upon him) said: 'Eat with her.'"
I (Imam Diya al-Din al-Maqdisi (may Allah have mercy on him)) say: "The well-known (name) is Haram bin Hakim, and Allah knows best."