Musnad Ahmad 1683
Grading supplied with this record: Sahih (Darussalam) [ al-Bukhari (5729) and Muslim (2219)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
It was narrated from "Abdullah bin ‘Abbas that
"Umar bin al-Khattab set out for Syria, then when he was in Sargh, he was met by the commanders of the troops, Abu ‘Ubaidah bin al-Jarrah and his companions, and they told him that an epidemic had broken out in Syria.... and he narrated the same Hadeeth. He said: ‘Abdur-Rahman bin "Awf came, who had been away on an errand, and said: I know something about this. I heard the Messenger of Allah (ﷺ) say: "If it [the epidemic] is in a land and you are there, do not leave it, fleeing from it; and if you hear of it in some land, do not go there.
Full reference and source
Musnad Ahmad 1683 Arabic/English book : Book 10, Hadith 1683
View source on Sunnah.com (opens in a new tab)