وَحَدَّثَنِي عَنْ مَالِكٍ، أَنَّهُ بَلَغَهُ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم دَخَلَ عَلَى أُمِّ سَلَمَةَ وَهِيَ حَادٌّ عَلَى أَبِي سَلَمَةَ وَقَدْ جَعَلَتْ عَلَى عَيْنَيْهَا صَبِرًا فَقَالَ ‏"‏ مَا هَذَا يَا أُمَّ سَلَمَةَ ‏"‏ ‏.‏ فَقَالَتْ إِنَّمَا هُوَ صَبِرٌ يَا رَسُولَ اللَّهِ ‏.‏ قَالَ ‏"‏ اجْعَلِيهِ فِي اللَّيْلِ وَامْسَحِيهِ بِالنَّهَارِ ‏"‏ ‏.‏

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." Translation Not Available

Book Ref: Muwatta Imam Malik Book 29 Hadith 1273
Web Ref:  Muwatta Imam Malik Book 29 Hadith 108