Salah should not be offered in footwear in case of possible harm

A: Offering Salah in Tahir (pure) footwear is Sunnah (Whatever is reported from the Prophet) unless this results in soiling the carpets of the Masjid (mosque). In this case, one must not offer Salah in them in order to avoid harm.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.