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.