The Messenger of Allah ﷺ would accept the invitation of a slave.
حدثنا محمد بن الصباح حدثنا سفيان ح و حدثنا عمرو بن رافع حدثنا جرير عن مسلم الملائي سمع
كان رسول الله ﷺ يجيب دعوة المملوك
No references are available.
[Its isnad is daif] Tirmidhi transmitted it, in the Book of Funerals, chapter on the practice regarding visiting the sick and attending the funeral, hadith no. 1017, from the hadith of Muslim al-Awar al-Malai in the same way, and he said, Muslim al-Awar is deemed weak.