The Book of Divorce (Kitab Al-Talaq)

Muslim :: Book 9 : Hadith 3600

Abu Huraira (Allah be pleased with him) reported Allah's Apostle (may peace be upon him) as saying: He who took the freed slave as his ally without the consent of his previous master, there is upon him the curse of Allah and that of His angels and that of the whole mankind, and there will not be accepted from him his obligatory acts or supercrogatory acts on the Day of Resurrection. This hadith is narrated through the same chain of transmitters, but with a slight change of words.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star