The Prophet, peace be upon him, said: “Do not transmit disease, and do not take your omen from birds. I like good omen which is represented by a good word.” (Related by Ahmad, Al-Bukhari and Muslim)

We need to refer to the first part of this Hadith we have quoted, which says: “Do not transmit disease, and do not take your omen from birds.” This is indeed the correct translation of the Prophet’s statement. However, from the linguistic point of view, the statement may be understood as a negation, rather than a prohibition, which would mean: “There is no transmission of disease and no taking of omen from birds.” Indeed many scholars understand the Hadith in this way. While this is possible from the linguistic point of view, it is a wrong reading of the Hadith. The Prophet, peace be upon him, was fully aware that some diseases are communicable and some are not. Disease transmission is a fact of life. He would not negate this when it happens all the time. The same is the case with people taking their omen from birds, or associating certain things with bad omen. People just did that and there can be denying the fact. There is no need, then, to read this Hadith as a negation when the same wording also means a prohibition. It is far more appropriate that the Prophet, peace be upon him, should make clear that deliberate transmission of disease is forbidden in Islam. The same applies to bad omen, which causes people different adverse effects.

The Prophet’s own practice and his statements clearly show that he recognized that communicable diseases represent a very serious risk. He was indeed the first in human history to impose quarantine, telling his followers that should the plague occur in a particular town, they must not enter it; and if they were in it, they must not leave it until the disease has been brought under control. Al-Sharid Ibn Suwayd reports: “A man from the tribe of Thaqeef who had leprosy came to the Prophet, peace be upon him, to pledge his allegiance to him. I mentioned this to the Prophet, peace be upon him. He instructed me to tell the man that he has accepted his pledge of allegiance, but he should return home.” (Related by Muslim and Ibn Majah)
Leprosy is a serious infectious disease, and a person who has this illness must not go around mixing with people so as not to transmit the disease to them. The Prophet, peace be upon him, wanted his companions to realize this. So, even in an important matter like accepting a pledge of allegiance, the Prophet made clear to the patient that his pledge is accepted, but he should remain indoors so as to reduce the chances of transmitting his disease to others.