"The Messenger of Allah (ﷺ) used to accept the invitation of a slave."

Sunan Ibn Majah Book 12, Hadith 160