The Prophet said to her, when she was menstruating: "Undo your braids and bathe."…

Sunan Ibn Majah Book 1 Hadith 684

Sunan Ibn Majah

The Book of Purification and its Sunnah 1:684

It was narrated from 'Aishah that:

The Prophet said to her, when she was menstruating: "Undo your braids and bathe." (Sahih)(A narrator) 'Ali said in his narration: "Undo your head."