It is narrated from Ibn Abbas (may Allah be pleased with them) that a man asked him: "I have taken employment with a people (on the condition that) I will perform Hajj with them, so will my Hajj be valid?" Ibn Abbas (may Allah be pleased with them) replied: "Yes, these are the people for whom there is a share in what they earn, and Allah is swift in taking account." (__QUR_2:202__)
Hadith Referenceمسند الإمام الشافعي / كتاب الحج / 935
Hadith Takhrijأخرجه البيهقي : 4 333 - وابن أبي شيبة (15141) وصححه الحاكم : (1/ 481)۔