Sunan Abi Dawud, Book 12, Hadith 19 (Abu Dawud 2065)

Narrated Hajjaj ibn Malik al-Aslami:

I asked: Messenger of Allah, what will remove from me the obligation due for fostering a child? He said: A slave or a slave-woman.