صحيح مسلم
From Sahih Muslim (Hadith 4324):
Abu Huraira reported Allah's Messenger (ﷺ) as saying:It is good for a slave that he worships Allah well, and serves his master (well). It is good for him
Reference: Muslim 4324