[Machine] On the authority of the Messenger of Allah ﷺ, he said, "If a plague breaks out in a land and you are in it, do not leave fleeing from it, and if it breaks out in a land that you are not in, do not enter it." Abu Al-Qasim said, this is narrated by Abdur Rahman ibn Yazid ibn Tamim and Sufyan ibn Husayn, and Ibn Abi Dhi'b contradicted them.
عَنْ رَسُولِ اللهِ ﷺ قَالَ «إِذَا وَقَعَ الطَّاعُونُ بِأَرْضٍ وَأَنْتُمْ بِهَا فَلَا تَخْرُجُوا فِرَارًا مِنْهُ وَإِذَا وَقَعَ بِأَرْضٍ وَلَسْتُمْ بِهَا فَلَا تَدْخُلُوا عَلَيْهِ» قَالَ أَبُو الْقَاسِمِ هَكَذَا رَوَاهُ عَبْدُ الرَّحْمَنِ بْنُ يَزِيدَ بْنِ تَمِيمٍ وَسُفْيَانُ بْنُ حُسَيْنٍ وَخَالَفَهُمَا ابْنُ أَبِي ذِئْبٍ