(Imām Bukhārī narrates): Ahmad bin Yunus narrated to us, from Zuhair, he said: Hisham narrated to us, from Urwah, from Hazrat Aisha (may Allāh be pleased with her), she says that the Prophet ﷺ said:
When menstruation comes, leave prayer, and when menstruation goes, wash the blood from your body and pray.
Reference: Sahih Al Bukhari 331