Jami` at-Tirmidhi 1065
جامع الترمذي#1065SahihUsamah bin Zaid narrated that:The Prophet mentioned the plague and said: "It is an abiding punishment or chastisement that was sent upon a group of the children of Isra'il. So when it occurs in a land while you are in it, then do not leave it. And when it occurs in a land while you are not in it, then do not enter it
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Ahmad Muhammad ShakirSahih
Al-AlbaniSahih
Bashar Awad MaaroufHasan Sahih
Zubair Ali ZaiSahih - Agreed Upon
In-book reference: 10:101