When ever Allah's Messenger (ﷺ) wanted to fondle any of his wives during the periods (menses), he used to ask her to wear an Izar.
Sahih al-Bukhari Book 6, Hadith 8