A man came to Ibn Abbas (may Allah be pleased with them both) and said: I work for the pilgrims for wages, and I make it a condition with them that I will perform Hajj; will this suffice for me? He said: You are among those about whom Allah Almighty said: "Those will have a share of what they have earned, and Allah is swift in taking account." [Surah al-Baqarah: 202]
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 8656