Hadith No. 3 791
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)
Translations
FR — Rapporté par Abu Huraira رضي الله عنه : Le Messager d’Allah ﷺ a dit : « Celui qui prend quelqu’un comme allié sans le consentement de son ancien maître, la malédiction d’Allah et de Ses anges sera sur lui, et aucun de ses actes obligatoires ou surérogatoires ne sera accepté (par Allah). »