عَنْ أَبِي مُوسَى قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «أَطْعِمُوا الْجَائِعَ وَعُودُوا الْمَرِيض وفكوا العاني» . رَوَاهُ البُخَارِيّ
Translation

Usama b. Zaid reported God’s messenger as saying, “Plague is a punishment which was sent down on a section of the B. Isrs’il, or on people before your time. When you hear of it in a land do not go to it, and if it occurs in a land while you are in it do not go out fleeing from it.(Bukhari and Muslim.)