When I menstruated, I left the bed and lay on the reed-mat and did not approach or come near the Messenger of Allah (ﷺ) until we were purified.
Sunan Abi Dawud Book 1, Hadith 271