Sahih Bukhari | Volume 7 | Hadith Number 624

Narrated by Saud
The Prophet said, "If you hear of an outbreak of plague in a land, do not enter it; but if the plague breaks out in a place while you are in it, do not leave that place."