Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
malik:29-22Yaḥyá > Mālik > Saʾal Ibn Shihāb > Īlāʾ al-ʿAbd

Yahya related to me from Malik that he had asked Ibn Shihab about the ila of the slave. He said that it was like the ila of the free man, and it put an obligation on him. The ila of the slave was two months.  

مالك:٢٩-٢٢حَدَّثَنِي يَحْيَى عَنْ مَالِكٍ أَنَّهُ سَأَلَ ابْنَ شِهَابٍ عَنْ إِيلاَءِ الْعَبْدِ

فَقَالَ هُوَ نَحْوُ إِيلاَءِ الْحُرِّ وَهُوَ عَلَيْهِ وَاجِبٌ وَإِيلاَءُ الْعَبْدِ شَهْرَانِ