Read the Arabic text and available English translation from Sahih Muslim, with its supplied source reference.
Sahih Muslim 1508 a
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
Abu Huraira (Allah be pleased with him) reported that Allah's Messenger (ﷺ) said:
He who takes anyone as his ally without the consent of his previous master, there will be the curse of Allah and that of His angels upon him, and neither, any obligatory act of his nor the supererogatory one will be accepted (by Allah).
Full reference and source
Sahih Muslim 1508 a
In-book : Book 20, Hadith 22
USC-MSA web (English) : Book 9, Hadith 3599 (deprecated)
References, translations and numbering differ between editions. A URL number is an internal app record identifier, not universal hadith numbering. Only supplied grading is displayed; no new authenticity assessment is made.