The fuqaha...
The fuqaha, by citing traditions [ ahadith ], in their books on jurisprudence, have written that if the situation is such that in a Muslim society and country Hajj does not become obligatory on anyone because no one can afford the traveling expenses; or those who are physically, mentally and financially capable, on whom Hajj is obligatory, do not voluntarily go to perform it and the House of Allah is devoid of any pilgrim, it becomes obligatory upon the Muslim states to dispatch a group of pilgrims by spending from the public treasury, so that the performance of Islamic rites which preserve the interests of all Muslims should not be suspended.
Thus, it is true that Hajj is a devotional affair and cannot be directly considered a political and mundane affair and people are obliged to perform it and spend their personal money on it, but if people refuse to perform it or cannot afford to do so, the Islamic state is obliged to provide facilities and grounds for the performance of this divine obligation with the aim of preserving Islamic rites and ensuring implementation of laws.
Therefore, the fundamental and basic difference between the Islamic and secular states is that the Islamic state, before anything else, must be concerned with the performance of religious rites and implementation of social laws and ordinances, and give priority to them. Of course, in practice there is usually no contradiction between spiritual and material affairs, but should there be any contradiction, spiritual affairs must be given priority.
Thus, the Islamic state’s foremost obligations are the performance of Islamic rites, preservation of Islamic laws and culture, prevention of any action that weakens Islamic culture and propagates atheistic rites in society. Methods employed by the state to fulfill its responsibilities As said earlier, the state must take charge of meeting the needs of society related to war and defense. The burden of planning, policymaking and implementation of such matters is shouldered by the state.
But in addition to duties which must be performed only by the state, the Islamic state has to play a role also in meeting some needs of society, and this is done in two ways: (1) the state takes charge of only planning, policymaking and supervision of implementation, and does not intervene in the implementation directly (2) in addition to planning, policymaking and supervision, it also engages in implementation.