The holy sharia of Islam places great emphasis on the need to protect the lives, property and reputation of Muslims; There are many examples in religious sources about the recommendation to fight infectious diseases, which can be shown in different sections of hadith and jurisprudence. Maintaining health against infectious diseases and self-care in its field is one of the main rules of jurisprudence that is crystallized in the relevant jurisprudential texts and rules. Imami jurisprudence is so sound and strong that it emphasizes the need to save lives and the process of educating people in dealing with the patient and believes that if the experts in any subject (who are doctors in this matter) issue a ruling based on their expert opinion And forbid attending gatherings such as congregational prayers and pilgrimages to holy places and religious delegations, etc., due to the existing dangers, since it is mustahab to participate in this ceremony and to prevent the spread of the disease according to the rule. "No harm", "Obligation to avoid possible harm by reason" and "Guidance" are obligatory; According to the no-harm rule, the sharia ban on attending these gatherings is created and the preservation of life is paramount. The narrations also emphasize that if a contagious disease such as cholera and plague spreads somewhere, one should avoid attending meetings. This article examines the religious teachings against the contagious disease from a jurisprudential perspective.