Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whoever attaches himself as a client to a people without the permission of his own patrons, upon him is the curse of Allah and the angels. No obligatory act nor voluntary act will be accepted from him."

Azami 6156

Sahih

عن أبي هريرة

أن رسول الله ﷺ قال: من تولى قوما بغير إذن مواليه فعليه لعنة الله والملائكة، لا يقبل منه عدل، ولا صرف.

الأعظمي 6156صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Emancipation of slaves
Section
Warning against a freed slave attributing himself to other than his patrons
Numbering
Jami al-Kamil 6156 (2nd edition)
Azami 6156