The Prophet entered upon her, and a freed slave girl of hers concealed herself. The Prophet asked: "Have her periods begun?" She said: "Yes." He tore a piece of his turban and said: "Cover your head with this."
Sunan Ibn Majah Book 1, Hadith 388