The Messenger of Allah ﷺ said, "Jibreel came to me with fever and plague. I kept the fever in Madinah and sent the plague to Sham. The plague is martyrdom for my ummah and a mercy for them, but a torment upon the disbelievers."
حدثنا يزيد حدثنا مسلم بن عبيد أبو نصيرة قال سمعت
قال رسول الله ﷺ أتاني جبريل عليه السلام بالحمى والطاعون فأمسكت الحمى بالمدينة وأرسلت الطاعون إلى الشام فالطاعون شهادة لأمتي ورحمة لهم ورجس على الكافرين
Its isnad is sahih. Muslim bin Ubayd Abu Nusayrah is among the trustworthy Successors, and the hadith is found in Bukhari 6/42, no. 2830, Fath, and Muslim 3/1522, no. 1916.