Sunan Ibn Majah, Book 1, Hadith 375 (Ibn Majah 641)

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."