[Machine] The Messenger of Allah ﷺ said, "There is no contagious disease except for Allah and His Messenger ﷺ ." And it has reached us that the Messenger of Allah ﷺ prevented the spread of plague. And it has also reached us that Umar ibn Al-Khattab prevented the spread of leprosy. This is the wording of the hadith of Ubaid.
أَنَّ رَسُولَ اللهِ ﷺ قَالَ لَا حِمَى إِلَّا لِلَّهِ وَلِرَسُولِهِ قَالَ وَبَلَغَنَا أَنَّ رَسُولَ اللهِ ﷺ حَمَى النَّقِيعَ وَأَنَّ عُمَرَ بْنَ الْخَطَّابِ حَمَى الشَّرَفَ وَالرَّبَذَةَ لَفْظُ حَدِيثِ عُبَيْدٍ