Hadith 35

Sahih Bukhari

Book 6: Menstrual Periods

Chapter 28

When a woman having bleeding in between her periods notices signs of cleanliness from her menses

باب إِذَا رَأَتِ الْمُسْتَحَاضَةُ الطُّهْرَ

Ibn ‘Abbas said: She should take a bath and offer Salat (prayers) even if (she were clean) for an hour and she can have (sexual relation with her husband) after the prayer, and As-Salat (the prayer) is more superior and important (than anything else). ​​
قَالَ ابْنُ عَبَّاسٍ تَغْتَسِلُ وَتُصَلِّي وَلَوْ سَاعَةً، وَيَأْتِيهَا زَوْجُهَا إِذَا صَلَّتْ، الصَّلاَةُ أَعْظَمُ.
Sahih al-Bukhari 331
حَدَّثَنَا أَحْمَدُ بْنُ يُونُسَ، عَنْ زُهَيْرٍ، قَالَ حَدَّثَنَا هِشَامٌ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ، قَالَتْ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏ ‏‏.‏
"‏ إِذَا أَقْبَلَتِ الْحَيْضَةُ فَدَعِي الصَّلاَةَ، وَإِذَا أَدْبَرَتْ فَاغْسِلِي عَنْكِ الدَّمَ وَصَلِّي ‏"
`Aisha:

The Prophet (ﷺ) said to me, "Give up the prayer when your menses begin and when it has finished, wash the blood off your body (take a bath) and start praying."