108 Yahya related to me from Malik that he had heard that theMessenger of Allah, may Allah bless him and grant him peace, visitedUmm Salama while she was in mourning for Abu Salama and she had putaloes on her eyes. He said, "What is this, Umm Salama?" She said, "Itis only aloes, Messenger of Allah." He said, "Put it on at night andwipe it off in the daytime."Malik said, "The mourning of ayoung girl who has not yet had a menstrual period takes the same formas the mourning of one who has had a period. She avoids what a maturewoman avoids if her husband dies."Malik said, "A slave-girlmourns her husband when he dies for two months and five nights likeher idda.''Malik said, "An umm walad does not have to mournwhen her master dies, and a slave-girl does not have to mourn when hermaster dies. Mourning is for those with husbands."
USC-MSA web (English) reference: Book 29, Hadith 108
Arabic reference: Book 29, Hadith 1273