وَالدَّلِيلُ عَلَى أَنَّ الْأَجِيرَ إِذَا أَجَّرَ نَفْسَهُ بِكَذَا، وَحَجَّ عَنْ نَفْسِهِ كَانَتْ لَهُ الْأُجْرَةُ عَلَى مُسْتَأْجِرِهِ، وَأَدَاءُ الْفَرْضِ عَنْ نَفْسِهِ جَائِزٌ
And the evidence that if the hired person rents himself out for such-and-such, and performs Hajj on behalf of himself, then the wage belongs to him from his employer, and the performance of the obligation on behalf of himself is permissible.
ثنا مُحَمَّدُ بْنُ يَحْيَى ، ثنا عَبْدُ الرَّزَّاقِ ، أَخْبَرَنَا مَعْمَرٌ ، عَنْ عَبْدِ الْكَرِيمِ الْجَزَرِيِّ ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ ، قَالَ : أَتَى رَجُلٌ ابْنَ عَبَّاسٍ ، فَقَالَ : إِنِّي أَجَّرْتُ نَفْسِي مِنْ قَوْمٍ فَتَرَكْتُ لَهُمْ بَعْضَ أُجْرَتِي أَوْ أَجْرِي لَوْ يُخَلُّوا بَيْنِي وَبَيْنَ الْمَنَاسِكِ ، فَهَلْ يُجْزِئُ ذَلِكَ عَنِّي ؟ فَقَالَ ابْنُ عَبَّاسٍ : " نَعَمْ ، هَذَا مِنَ الَّذِينَ قَالَ اللَّهُ : أُولَئِكَ لَهُمْ نَصِيبٌ مِمَّا كَسَبُوا وَاللَّهُ سَرِيعُ الْحِسَابِ سورة البقرة آية 202 "
Saeed bin Jubair (may Allah have mercy on him) narrates that a man came to Sayyiduna Ibn Abbas (may Allah be pleased with them both) and said, "I offered myself for work to a people, then I left some of my wages or pay on the condition that they would allow me to perform the rites of Hajj. So will my Hajj be sufficient for me?" Sayyiduna Ibn Abbas (may Allah be pleased with them both) replied, "Yes, this person is among those about whom Allah Almighty has said « أُولَٰئِكَ لَهُمْ نَصِيبٌ مِّمَّا كَسَبُوا ۚ وَاللَّهُ سَرِيعُ الْحِسَابِ » [ سورة البقرة : 202] 'For such there is a share of what they have earned, and Allah is swift in taking account.'"