The World Federation One Stop Fiqh

Ruling 2226

If an employer appoints a contractor to recruit workers for him, in the event that the contractor pays the workers less than what he receives from the employer, it is unlawful for him to take the difference and he must return it to the employer. However, if he is hired to construct a building and he reserves the right to construct it himself or to subcontract the work to someone else, then in case he constructs part of it himself and subcontracts the rest to someone else for less than what he was hired for, it is lawful for him to take the difference.