Answer
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
1- The hadith referred to in the question aims to protect people and to work for their best interests. So, we have the flexibility of using this hadith and not worrying about it.
2- If a Health Authority or health experts tell us that it is safe for us to go into an area with server outbreak of Coronavirus (COVID-19) pandemic because they are taking precautions and they have set up vaccinations or they have got testing going on, then in my opinion this hadith does not actually go against this advice.
Sheikh Abu Eesa Niamatullah answers your question in this short video:
Almighty Allah knows best.
Source: FaithIQ