عَنْ عِكْرِمَةَ يَعْنِي ابْنَ خَالِدٍ الْمَخْزُومِيِّ عَنْ أَبِيهِ أَوْ عَنْ عَمِّهِ عَنْ جَدِّهِ رَضِيَ اللَّهُ عَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ فِي غَزْوَةِ تَبُوكَ إِذَا وَقَعَ الطَّاعُونُ بِأَرْضٍ وَأَنْتُمْ بِهَا فَلَا تَخْرُجُوا مِنْهَا وَإِذَا كَانَ بِأَرْضٍ وَلَسْتُمْ بِهَا فَلَا تَقْرَبُوهَا
Ikrimah bin Khalid Makhzumi narrates from his father or his uncle, and he narrates from his father, that on the occasion of the Battle of Tabuk, the Noble Prophet (peace and blessings be upon him) said: When plague occurs in any land and you are present there, do not go out from it, and when plague breaks out in a region where you are not present, do not enter that region.