Answer
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
1– It is permissible to perform Hajj by installments if one cannot afford the expenses of Hajj at once.
2- Making Hajj by money earned through invalid contracts concluded with non-Muslims such as selling pork to them is not permitted.
The eminent Muslim scholar, Dr. `Abdel-Fattah Idrees, Professor of Comparative Jurisprudence at Al-Azhar University, states:
Performing Hajj by installments, or, in other words, through (a financial association) [that makes it easy for people to perform that religious obligation] is lawful, for there is no religious evidence against performing Hajj in that way. Besides, the pilgrim in that case will pay the money borrowed back.
This view is in accordance with the juristic schools, i.e., Shafi`i and Zhahiri schools, that say that any lawful means that enables one to perform Hajj is considered in that regard, even if it is through borrowing money. Hence, performing Hajj by installments is lawful and is as rewarded as the Hajj wholly paid for.
As for the second part of the question, it isb not lawful to perform Hajj out of money earned by the way the questioner has referred to, for Allah Almighty does not accept but what is earned through lawful means.
Abu Hurairah (may Allah be pleased with him) reported Allah’s Messenger (peace be upon him) as saying, ‘Allah is Honest and He therefore, accepts only that which is [earned] honestly.’ (Muslim, At-Tirmidhi, Ahmad, and Ad-Darimi)
Abu Hurairah (may Allah be pleased with him) also reported the Prophet (peace and blessings be upon him) as saying: “When a pilgrim affords for Hajj honestly and goes out for it, the moment he places his feet on the ground for that purpose chanting: ‘O Allah: here I am at Your service; here I am at Your service’, an angel will reciprocate his call from the Heaven saying: ‘Your call is accepted and you are granted Allah’s pleasure. You have provided for your food and means of transportation during Hajj honestly, [and so] your Hajj is accepted and regarded as sinless’. [On the other hand,] when a pilgrim affords for Hajj dishonestly, the moment he puts his feet on the ground for that purpose chanting: ‘O Allah: here I am at Your service; here I am at Your service’, an angel will say in reply: ‘Your call is not accepted, nor will you get Allah’s Pleasure. Your provision for Hajj has been made dishonestly, [and so,] your Hajj will not be accepted and your seeking Hajj in that way is regarded as sinful.’” (At-Tabarani)
The contracts referred to in the question are invalid, and the money earned thereby is regarded as ill-gotten money.
In order for the questioner to get purified from the sin of earning that money, he is to give it wholly to the poor and needy without spending a penny on his personal or religious interests.
Almighty Allah knows best.
Editor’s note: This fatwa is from Ask the Scholar’s archive and was originally published at an earlier date.