Mishkat al-Masabih 1547
وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: سَأَلَتْ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَنِ الطَّاعُونِ فَأَخْبَرَنِي: «أَنَّهُ عَذَابٌ يَبْعَثُهُ اللَّهُ عَلَى مَنْ يَشَاءُ وَأَنَّ اللَّهَ جَعَلَهُ رَحْمَةً لِلْمُؤْمِنِينَ لَيْسَ مِنْ أَحَدٍ يَقَعُ الطَّاعُونُ فَيَمْكُثُ فِي بَلَدِهِ صَابِرًا مُحْتَسِبًا يَعْلَمُ أَنَّهُ لَا يُصِيبُهُ إِلَّا مَا كَتَبَ اللَّهُ لَهُ إِلَّا كَانَ لَهُ مِثْلُ أَجْرِ شَهِيدٍ» . رَوَاهُ الْبُخَارِيُّ
From ʿAʾishah, may Allah be pleased with her, who said: I asked the Messenger of Allah ﷺ about the plague, and he told me: "It is a punishment which Allah sends upon whom He wills, and Allah has made it a mercy for the believers. There is no one in whose land the plague breaks out and who stays in his land, patient and hoping for reward, knowing that nothing will befall him except what Allah has written for him, except that he will have the like of the reward of a martyr." Reported by al-Bukhari.